public function FooBlock::defaultConfiguration in Twig Tweak 3.1.x
Same name and namespace in other branches
- 3.x tests/twig_tweak_test/src/Plugin/Block/FooBlock.php \Drupal\twig_tweak_test\Plugin\Block\FooBlock::defaultConfiguration()
Overrides BlockPluginTrait::defaultConfiguration
File
- tests/
twig_tweak_test/ src/ Plugin/ Block/ FooBlock.php, line 23
Class
- FooBlock
- Provides a foo block.
Namespace
Drupal\twig_tweak_test\Plugin\BlockCode
public function defaultConfiguration() : array {
return [
'content' => 'Foo',
];
}