You are here

public function OrderForm::__construct in Ubercart 8.4

Constructs the order edit form.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

\Drupal\uc_order\Plugin\OrderPaneManager $order_pane_manager: The order pane plugin manager.

Overrides ContentEntityForm::__construct

File

uc_order/src/OrderForm.php, line 33

Class

OrderForm
Form controller for the Ubercart order form.

Namespace

Drupal\uc_order

Code

public function __construct(EntityManagerInterface $entity_manager, OrderPaneManager $order_pane_manager) {
  parent::__construct($entity_manager);
  $this->orderPaneManager = $order_pane_manager;
}