public static function VarDumperBlock::create in VarDumper 8
.
Overrides ContainerFactoryPluginInterface::create
File
- modules/
vardumper_block/ src/ Plugin/ Block/ VarDumperBlock.php, line 62
Class
- VarDumperBlock
- Provides a 'Vardumper' block.
Namespace
Drupal\vardumper_block\Plugin\BlockCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('session'));
}