function ValidationErrorBlock::build
Same name in other branches
- 9 core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php \Drupal\settings_tray_test\Plugin\Block\ValidationErrorBlock::build()
- 10 core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php \Drupal\settings_tray_test\Plugin\Block\ValidationErrorBlock::build()
- 11.x core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php \Drupal\settings_tray_test\Plugin\Block\ValidationErrorBlock::build()
File
-
core/
modules/ settings_tray/ tests/ modules/ settings_tray_test/ src/ Plugin/ Block/ ValidationErrorBlock.php, line 21
Class
- ValidationErrorBlock
- Provides a 'Block with validation error' test block.
Namespace
Drupal\settings_tray_test\Plugin\BlockCode
public function build() {
return [
'#markup' => '<span>If I had more time this would be very witty :(.</span>',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.