You are here

public function GroupHeroBlock::__construct in Open Social 8.4

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  2. 8 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  3. 8.2 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  4. 8.3 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  5. 8.5 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  6. 8.6 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  7. 8.7 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  8. 8.8 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  9. 10.3.x modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  10. 10.0.x modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  11. 10.1.x modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
  12. 10.2.x modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()

Creates a GroupHeroBlock instance.

Parameters

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

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

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

Overrides BlockPluginTrait::__construct

File

modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php, line 44

Class

GroupHeroBlock
Provides a 'GroupHeroBlock' block.

Namespace

Drupal\social_group\Plugin\Block

Code

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