interface EditableOrderPanePluginInterface in Ubercart 8.4
Defines an interface for editable order pane plugins.
Hierarchy
- interface \Drupal\uc_order\EditableOrderPanePluginInterface
Expanded class hierarchy of EditableOrderPanePluginInterface
All classes that implement EditableOrderPanePluginInterface
File
- uc_order/
src/ EditableOrderPanePluginInterface.php, line 10
Namespace
Drupal\uc_orderView source
interface EditableOrderPanePluginInterface {
/**
* Form constructor.
*
* @param \Drupal\uc_order\OrderInterface $order
* The order that is being viewed.
* @param array $form
* An array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
*
* @return array
* The form structure.
*/
public function buildForm(OrderInterface $order, array $form, FormStateInterface $form_state);
/**
* Form submission handler.
*
* @param \Drupal\uc_order\OrderInterface $order
* The order that is being viewed.
* @param array $form
* An associative array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
*/
public function submitForm(OrderInterface $order, array &$form, FormStateInterface $form_state);
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EditableOrderPanePluginInterface:: |
public | function | Form constructor. | 7 |
EditableOrderPanePluginInterface:: |
public | function | Form submission handler. | 7 |