function ExampleConfigurableTextBlock::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'],
];
}