public function EventInviteLocalTask::__construct in Open Social 10.3.x
Same name and namespace in other branches
- 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()
- 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()
- 10.1.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()
- 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\LocalTaskCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, RouteMatchInterface $routeMatch) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->routeMatch = $routeMatch;
}