신천지의 형님들ㅣ한국을 뒤흔든 신흥종교 : 최태민 차천자 백백교ㅣ한홍구TVhttps://youtu.be/o035_BEd_Ek00:00 ~ 01:22 인사 01:23 ~ 12:06 19세기말 이래, 한국의 신종교 12:07 ~ 32:15 백백교 32:16 ~ 47:24 보천교 47:25 ~ 01:09:29 박수무당 최태민 1:09:30 ~ 1:11:51 오대양 사건 01:11:52 ~ 01:29:29 신천지와 개신교
/** * Implements hook_preprocess_commerce_checkout_form(). */ function mytheme_preprocess_commerce_checkout_form(&$variables) { $form = &$variables['form']; $custom_fields = []; // 주문 엔터티 추출 시도 $order = NULL; if (!empty($form['#order'])) { $order = $form['#order']; } elseif (!empty($form['order'])) { $order = $form['order']; } elseif (!empty($form['#entity'])) { $order = $form['#entity']; } elseif (!empty($form['checkout'])) { $order = $form['checkout']; } if ($order && $order instanceof \Drupal\commerce_order\Entity\OrderInterface) { foreach ($order->getItems() as $order_item) { $variation = $order_item->getPurchasedEntity(); $product = $variation ? $variation->getProduct() : NULL; if ($product) { $footer_block_value = $product->hasField('field_footer_block') && !$product->field_footer_block->isEmpty() ? $product->field_footer_block->value : 'N/A'; $custom_fields[] = [ 'footer_block' => $footer_block_value, ]; } } } else { $custom_fields[] = ['footer_block' => '주문 엔터티를 찾을 수 없습니다.']; } $variables['custom_fields'] = $custom_fields; // 디버깅: form 키를 변수로 전달 $variables['form_keys'] = array_keys($form); }
신천지의 형님들ㅣ한국을 뒤흔든 신흥종교 : 최태민 차천자 백백교ㅣ한홍구TVhttps://youtu.be/o035_BEd_Ek00:00 ~ 01:22 인사 01:23 ~ 12:06 19세기말 이래, 한국의 신종교 12:07 ~ 32:15 백백교 32:16 ~ 47:24 보천교 47:25 ~ 01:09:29 박수무당 최태민 1:09:30 ~ 1:11:51 오대양 사건 01:11:52 ~ 01:29:29 신천지와 개신교
댓글 달기