function AutowireErrorBlock::__construct
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/autowire_test/src/Plugin/Block/AutowireErrorBlock.php \Drupal\autowire_test\Plugin\Block\AutowireErrorBlock::__construct()
Overrides BlockPluginTrait::__construct
File
-
core/
modules/ system/ tests/ modules/ autowire_test/ src/ Plugin/ Block/ AutowireErrorBlock.php, line 25
Class
- AutowireErrorBlock
- Provides a block that cannot be autowired.
Namespace
Drupal\autowire_test\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, protected LockBackendInterface $lock) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.