public function SocialInviteLocalActionsBlock::__construct in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/modules/social_group_invite/src/Plugin/Block/SocialInviteLocalActionsBlock.php \Drupal\social_group_invite\Plugin\Block\SocialInviteLocalActionsBlock::__construct()
- 10.3.x modules/social_features/social_group/modules/social_group_invite/src/Plugin/Block/SocialInviteLocalActionsBlock.php \Drupal\social_group_invite\Plugin\Block\SocialInviteLocalActionsBlock::__construct()
- 10.1.x modules/social_features/social_group/modules/social_group_invite/src/Plugin/Block/SocialInviteLocalActionsBlock.php \Drupal\social_group_invite\Plugin\Block\SocialInviteLocalActionsBlock::__construct()
- 10.2.x modules/social_features/social_group/modules/social_group_invite/src/Plugin/Block/SocialInviteLocalActionsBlock.php \Drupal\social_group_invite\Plugin\Block\SocialInviteLocalActionsBlock::__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\ginvite\GroupInvitationLoaderInterface $inviteService: The tag service.
Overrides BlockPluginTrait::__construct
File
- modules/
social_features/ social_group/ modules/ social_group_invite/ src/ Plugin/ Block/ SocialInviteLocalActionsBlock.php, line 53
Class
- SocialInviteLocalActionsBlock
- Provides a 'SocialInviteLocalActionsBlock' block.
Namespace
Drupal\social_group_invite\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, RouteMatchInterface $routeMatch, GroupInvitationLoaderInterface $inviteService) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->routeMatch = $routeMatch;
$this->inviteService = $inviteService;
}