public function VarDumperBlock::__construct in VarDumper 8
Same name in this branch
- 8 modules/vardumper_block/src/VarDumper/VarDumperBlock.php \Drupal\vardumper_block\VarDumper\VarDumperBlock::__construct()
- 8 modules/vardumper_block/src/Plugin/Block/VarDumperBlock.php \Drupal\vardumper_block\Plugin\Block\VarDumperBlock::__construct()
.
Overrides BlockPluginTrait::__construct
File
- modules/
vardumper_block/ src/ Plugin/ Block/ VarDumperBlock.php, line 33
Class
- VarDumperBlock
- Provides a 'Vardumper' block.
Namespace
Drupal\vardumper_block\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, SessionInterface $session) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->session = $session;
}