‘n번방’ 1년, 남은 질문들 ④ “누구에게나 안전한 온라인 공간을 위해 디지털 시민성이 시급하다”
“누구에게나 안전한 온라인 공간을 위해 디지털 시민성이 시급하다”
추적단불꽃과 국제앰네스티는 ‘n번방’으로 불리는 텔레그램 성착취 사건이 공론화된 2020년 3월을 되돌아보며…
use Drupal\commerce_order\Entity\Order; /** * Implements hook_preprocess_HOOK() for commerce_checkout_order_summary. */ function bootstrap_barrio_subtheme_preprocess_commerce_checkout_order_summary(&$variables) { $order = $variables['order_entity']; // 주문 엔터티 $product_ids = []; if ($order instanceof Order) { foreach ($order->getItems() as $order_item) { $purchased_entity = $order_item->getPurchasedEntity(); if ($purchased_entity && $purchased_entity->getProduct()) { $product = $purchased_entity->getProduct(); $product_ids[] = $product->id(); } } } // Twig 템플릿에서 사용할 변수 추가 $variables['product_ids'] = $product_ids; }
“누구에게나 안전한 온라인 공간을 위해 디지털 시민성이 시급하다”
추적단불꽃과 국제앰네스티는 ‘n번방’으로 불리는 텔레그램 성착취 사건이 공론화된 2020년 3월을 되돌아보며…