3 namespace Drupal\settings_tray_test\Plugin\Block;
5 use Drupal\Core\Block\BlockBase;
8 * Block that explicitly provides no "settings_tray" form, thus opting out.
11 * id = "settings_tray_test_false",
12 * admin_label = "Settings Tray test block: forms[settings_tray]=FALSE",
14 * "settings_tray" = FALSE,
18 class SettingsTrayFormAnnotationIsFalseBlock extends BlockBase {
23 public function build() {
24 return ['#markup' => '<span>FALSE</span>'];