You are here

public function EventInviteLocalTask::__construct in Open Social 10.1.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/modules/social_event_invite/src/Plugin/Menu/LocalTask/EventInviteLocalTask.php \Drupal\social_event_invite\Plugin\Menu\LocalTask\EventInviteLocalTask::__construct()
  2. 10.3.x modules/social_features/social_event/modules/social_event_invite/src/Plugin/Menu/LocalTask/EventInviteLocalTask.php \Drupal\social_event_invite\Plugin\Menu\LocalTask\EventInviteLocalTask::__construct()
  3. 10.0.x modules/social_features/social_event/modules/social_event_invite/src/Plugin/Menu/LocalTask/EventInviteLocalTask.php \Drupal\social_event_invite\Plugin\Menu\LocalTask\EventInviteLocalTask::__construct()
  4. 10.2.x modules/social_features/social_event/modules/social_event_invite/src/Plugin/Menu/LocalTask/EventInviteLocalTask.php \Drupal\social_event_invite\Plugin\Menu\LocalTask\EventInviteLocalTask::__construct()

Construct the UnapprovedComments object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

array $plugin_definition: The plugin implementation definition.

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

Overrides PluginBase::__construct

File

modules/social_features/social_event/modules/social_event_invite/src/Plugin/Menu/LocalTask/EventInviteLocalTask.php, line 39

Class

EventInviteLocalTask
Provides a local task that shows the amount of group invites.

Namespace

Drupal\social_event_invite\Plugin\Menu\LocalTask

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, RouteMatchInterface $routeMatch) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->routeMatch = $routeMatch;
}