function SettingsTrayFormAnnotationIsFalseBlock::build
Same name in other branches
- 8.9.x core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationIsFalseBlock.php \Drupal\settings_tray_test\Plugin\Block\SettingsTrayFormAnnotationIsFalseBlock::build()
- 10 core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationIsFalseBlock.php \Drupal\settings_tray_test\Plugin\Block\SettingsTrayFormAnnotationIsFalseBlock::build()
- 11.x core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationIsFalseBlock.php \Drupal\settings_tray_test\Plugin\Block\SettingsTrayFormAnnotationIsFalseBlock::build()
Overrides BlockPluginInterface::build
File
-
core/
modules/ settings_tray/ tests/ modules/ settings_tray_test/ src/ Plugin/ Block/ SettingsTrayFormAnnotationIsFalseBlock.php, line 23
Class
- SettingsTrayFormAnnotationIsFalseBlock
- Block that explicitly provides no "settings_tray" form, thus opting out.
Namespace
Drupal\settings_tray_test\Plugin\BlockCode
public function build() {
return [
'#markup' => '<span>FALSE</span>',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.