You are here

public function SocialInviteLocalActionsBlock::__construct in Open Social 8.9

Same name and namespace in other branches
  1. 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()
  2. 10.0.x modules/social_features/social_group/modules/social_group_invite/src/Plugin/Block/SocialInviteLocalActionsBlock.php \Drupal\social_group_invite\Plugin\Block\SocialInviteLocalActionsBlock::__construct()
  3. 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()
  4. 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\Block

Code

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;
}