You are here

public function CopyrightBlock::__construct in Copyright Block module 8

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/CopyrightBlock.php, line 31

Class

CopyrightBlock
Adds a copyright block.

Namespace

Drupal\copyright_block\Plugin\Block

Code

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