You are here

public function InviteUserBaseForm::__construct in Open Social 8.9

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_core/src/Form/InviteUserBaseForm.php \Drupal\social_core\Form\InviteUserBaseForm::__construct()
  2. 10.0.x modules/social_features/social_core/src/Form/InviteUserBaseForm.php \Drupal\social_core\Form\InviteUserBaseForm::__construct()
  3. 10.1.x modules/social_features/social_core/src/Form/InviteUserBaseForm.php \Drupal\social_core\Form\InviteUserBaseForm::__construct()
  4. 10.2.x modules/social_features/social_core/src/Form/InviteUserBaseForm.php \Drupal\social_core\Form\InviteUserBaseForm::__construct()

Constructs a new BulkGroupInvitation Form.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.

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

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory service.

1 call to InviteUserBaseForm::__construct()
EnrollInviteUserForm::__construct in modules/social_features/social_event/modules/social_event_invite/src/Form/EnrollInviteUserForm.php
Constructs a new BulkGroupInvitation Form.
1 method overrides InviteUserBaseForm::__construct()
EnrollInviteUserForm::__construct in modules/social_features/social_event/modules/social_event_invite/src/Form/EnrollInviteUserForm.php
Constructs a new BulkGroupInvitation Form.

File

modules/social_features/social_core/src/Form/InviteUserBaseForm.php, line 47

Class

InviteUserBaseForm
Class InviteBaseForm.

Namespace

Drupal\social_core\Form

Code

public function __construct(RouteMatchInterface $route_match, EntityTypeManagerInterface $entity_type_manager, LoggerChannelFactoryInterface $logger_factory) {
  $this->routeMatch = $route_match;
  $this->entityTypeManager = $entity_type_manager;
  $this->loggerFactory = $logger_factory;
  $this->group = $this->routeMatch
    ->getParameter('group');
}