public function InvoiceTypeForm::__construct in Commerce Invoice 8.2
Constructs a new InvoiceTypeForm object.
Parameters
\Drupal\commerce\EntityTraitManagerInterface $trait_manager: The entity trait manager.
\Drupal\state_machine\WorkflowManagerInterface $workflow_manager: The workflow manager.
Overrides CommerceBundleEntityFormBase::__construct
File
- src/
Form/ InvoiceTypeForm.php, line 37
Class
- InvoiceTypeForm
- Provides an invoice type form.
Namespace
Drupal\commerce_invoice\FormCode
public function __construct(EntityTraitManagerInterface $trait_manager, WorkflowManagerInterface $workflow_manager) {
parent::__construct($trait_manager);
$this->workflowManager = $workflow_manager;
}