/** * {@inheritdoc} */ public function submitForm(OrderInterface $order, array &$form, FormStateInterface $form_state) { $order->setOwnerId($form_state->getValue('uid')); $order->setEmail($form_state->getValue('primary_email')); }
/** * {@inheritdoc} */ public function submitForm(OrderInterface $order, array &$form, FormStateInterface $form_state) { $order->setOwnerId($form_state->getValue('uid')); $order->setEmail($form_state->getValue('primary_email')); }