You are here

public function PriceListItemInlineForm::__construct in Commerce Pricelist 8

Constructs the inline entity form controller.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.

\Drupal\Core\Routing\RouteMatchInterface $route_match: The entity type.

Overrides EntityInlineForm::__construct

File

src/Form/PriceListItemInlineForm.php, line 50

Class

PriceListItemInlineForm
Defines the inline form for product variations.

Namespace

Drupal\commerce_pricelist\Form

Code

public function __construct(EntityFieldManagerInterface $entity_field_manager, EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, EntityTypeInterface $entity_type, RouteMatchInterface $route_match) {
  parent::__construct($entity_field_manager, $entity_type_manager, $module_handler, $entity_type);
  $this->routeMatch = $route_match;
}