You are here

public function FollowTagBlock::__construct in Open Social 10.0.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_follow_taxonomy/modules/social_follow_tag/src/Plugin/Block/FollowTagBlock.php \Drupal\social_follow_tag\Plugin\Block\FollowTagBlock::__construct()
  2. 10.1.x modules/social_features/social_follow_taxonomy/modules/social_follow_tag/src/Plugin/Block/FollowTagBlock.php \Drupal\social_follow_tag\Plugin\Block\FollowTagBlock::__construct()
  3. 10.2.x modules/social_features/social_follow_taxonomy/modules/social_follow_tag/src/Plugin/Block/FollowTagBlock.php \Drupal\social_follow_tag\Plugin\Block\FollowTagBlock::__construct()

SearchHeroBlock constructor.

Parameters

array $configuration: The given configuration.

string $plugin_id: The plugin id.

mixed $plugin_definition: The plugin definition.

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

Overrides BlockPluginTrait::__construct

File

modules/social_features/social_follow_taxonomy/modules/social_follow_tag/src/Plugin/Block/FollowTagBlock.php, line 39

Class

FollowTagBlock
Provides a 'FollowTagBlock' block.

Namespace

Drupal\social_follow_tag\Plugin\Block

Code

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