You are here

public function AddLineItemForm::__construct in Ubercart 8.4

Form constructor.

Parameters

\Drupal\uc_order\Plugin\LineItemManagerInterface $line_item_manager: The line item manager.

File

uc_order/src/Form/AddLineItemForm.php, line 30

Class

AddLineItemForm
Form to add a line item to an order.

Namespace

Drupal\uc_order\Form

Code

public function __construct(LineItemManagerInterface $line_item_manager) {
  $this->lineItemManager = $line_item_manager;
}