You are here

public function TagadelicBlock::__construct in Tagadelic 8.3

Creates a TagadelicBlock 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\Config\ConfigFactoryInterface $tags: The tags from the cloud service for this block..

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/TagadelicBlock.php, line 39

Class

TagadelicBlock
Provides a block to display a tag cloud.

Namespace

Drupal\tagadelic\Plugin\Block

Code

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