You are here

public function PriceListTypeForm::__construct in Commerce Pricelist 8

Constructs a new CommerceBundleEntityFormBase object.

Parameters

\Drupal\commerce\EntityTraitManagerInterface $trait_manager: The entity trait manager.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

Overrides CommerceBundleEntityFormBase::__construct

File

src/Form/PriceListTypeForm.php, line 33

Class

PriceListTypeForm
Class PriceListTypeForm.

Namespace

Drupal\commerce_pricelist\Form

Code

public function __construct(EntityTraitManagerInterface $trait_manager, MessengerInterface $messenger) {
  parent::__construct($trait_manager);
  $this->traitManager = $trait_manager;
  $this->messenger = $messenger;
}