public function GroupHeroBlock::__construct in Open Social 8.7
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 8 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 8.2 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 8.3 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 8.4 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 8.5 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 8.6 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 8.8 modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 10.3.x modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 10.0.x modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 10.1.x modules/social_features/social_group/src/Plugin/Block/GroupHeroBlock.php \Drupal\social_group\Plugin\Block\GroupHeroBlock::__construct()
- 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\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, RouteMatchInterface $route_match) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->routeMatch = $route_match;
}