You are here

public function TransactionInlineForm::__construct in Transaction 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 route match.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

Overrides EntityInlineForm::__construct

File

modules/transaction_ief/src/Form/TransactionInlineForm.php, line 50

Class

TransactionInlineForm
Defines the inline form for the transaction entity.

Namespace

Drupal\transaction_ief\Form

Code

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