public function EditableOrderPanePluginInterface::buildForm in Ubercart 8.4
Form constructor.
Parameters
\Drupal\uc_order\OrderInterface $order: The order that is being viewed.
array $form: An array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
7 methods override EditableOrderPanePluginInterface::buildForm()
- AddressPaneBase::buildForm in uc_order/
src/ Plugin/ Ubercart/ OrderPane/ AddressPaneBase.php - Form constructor.
- AdminComments::buildForm in uc_order/
src/ Plugin/ Ubercart/ OrderPane/ AdminComments.php - Form constructor.
- CustomerInfo::buildForm in uc_order/
src/ Plugin/ Ubercart/ OrderPane/ CustomerInfo.php - Form constructor.
- LineItems::buildForm in uc_order/
src/ Plugin/ Ubercart/ OrderPane/ LineItems.php - Form constructor.
- Payment::buildForm in payment/
uc_payment/ src/ Plugin/ Ubercart/ OrderPane/ Payment.php - Form constructor.
File
- uc_order/
src/ EditableOrderPanePluginInterface.php, line 25
Class
- EditableOrderPanePluginInterface
- Defines an interface for editable order pane plugins.
Namespace
Drupal\uc_orderCode
public function buildForm(OrderInterface $order, array $form, FormStateInterface $form_state);