function ExampleConfigurableTextBlock::build
Same name in other branches
- 4.0.x modules/block_example/src/Plugin/Block/ExampleConfigurableTextBlock.php \Drupal\block_example\Plugin\Block\ExampleConfigurableTextBlock::build()
Overrides BlockPluginInterface::build
File
-
modules/
block_example/ src/ Plugin/ Block/ ExampleConfigurableTextBlock.php, line 76
Class
- ExampleConfigurableTextBlock
- Provides a 'Example: configurable text string' block.
Namespace
Drupal\block_example\Plugin\BlockCode
public function build() {
return [
'#markup' => $this->configuration['block_example_string'],
];
}