Loading src/Plugin/Commerce/CheckoutPane/ShippingInformation.php +4 −0 Original line number Diff line number Diff line Loading @@ -445,6 +445,10 @@ class ShippingInformation extends CheckoutPaneBase implements ContainerFactoryPl // Save the modified shipments. $shipments = []; foreach (Element::children($pane_form['shipments']) as $index) { if (!isset($pane_form['shipments'][$index]['#shipment'])) { continue; } /** @var \Drupal\commerce_shipping\Entity\ShipmentInterface $shipment */ $shipment = clone $pane_form['shipments'][$index]['#shipment']; $form_display = EntityFormDisplay::collectRenderDisplay($shipment, 'checkout'); Loading Loading
src/Plugin/Commerce/CheckoutPane/ShippingInformation.php +4 −0 Original line number Diff line number Diff line Loading @@ -445,6 +445,10 @@ class ShippingInformation extends CheckoutPaneBase implements ContainerFactoryPl // Save the modified shipments. $shipments = []; foreach (Element::children($pane_form['shipments']) as $index) { if (!isset($pane_form['shipments'][$index]['#shipment'])) { continue; } /** @var \Drupal\commerce_shipping\Entity\ShipmentInterface $shipment */ $shipment = clone $pane_form['shipments'][$index]['#shipment']; $form_display = EntityFormDisplay::collectRenderDisplay($shipment, 'checkout'); Loading