public function SocialEventInviteLocalActionsBlock::__construct in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/modules/social_event_invite/src/Plugin/Block/SocialEventInviteLocalActionsBlock.php \Drupal\social_event_invite\Plugin\Block\SocialEventInviteLocalActionsBlock::__construct()
- 10.3.x modules/social_features/social_event/modules/social_event_invite/src/Plugin/Block/SocialEventInviteLocalActionsBlock.php \Drupal\social_event_invite\Plugin\Block\SocialEventInviteLocalActionsBlock::__construct()
- 10.1.x modules/social_features/social_event/modules/social_event_invite/src/Plugin/Block/SocialEventInviteLocalActionsBlock.php \Drupal\social_event_invite\Plugin\Block\SocialEventInviteLocalActionsBlock::__construct()
- 10.2.x modules/social_features/social_event/modules/social_event_invite/src/Plugin/Block/SocialEventInviteLocalActionsBlock.php \Drupal\social_event_invite\Plugin\Block\SocialEventInviteLocalActionsBlock::__construct()
EventAddBlock constructor.
Parameters
array $configuration: The given configuration.
string $plugin_id: The given plugin id.
mixed $plugin_definition: The given plugin definition.
\Drupal\Core\Routing\RouteMatchInterface $routeMatch: The route match.
\Drupal\social_event_invite\SocialEventInviteAccessHelper $accessHelper: The event invite access helper.
Overrides BlockPluginTrait::__construct
File
- modules/
social_features/ social_event/ modules/ social_event_invite/ src/ Plugin/ Block/ SocialEventInviteLocalActionsBlock.php, line 58
Class
- SocialEventInviteLocalActionsBlock
- Provides a 'SocialEventInviteLocalActionsBlock' block.
Namespace
Drupal\social_event_invite\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, RouteMatchInterface $routeMatch, SocialEventInviteAccessHelper $accessHelper) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->routeMatch = $routeMatch;
$this->accessHelper = $accessHelper;
}