Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / settings_tray / tests / modules / settings_tray_test / src / Plugin / Block / SettingsTrayFormAnnotationIsFalseBlock.php
1 <?php
2
3 namespace Drupal\settings_tray_test\Plugin\Block;
4
5 use Drupal\Core\Block\BlockBase;
6
7 /**
8  * Block that explicitly provides no "settings_tray" form, thus opting out.
9  *
10  * @Block(
11  *   id = "settings_tray_test_false",
12  *   admin_label = "Settings Tray test block: forms[settings_tray]=FALSE",
13  *   forms = {
14  *     "settings_tray" = FALSE,
15  *   },
16  * )
17  */
18 class SettingsTrayFormAnnotationIsFalseBlock extends BlockBase {
19
20   /**
21    * {@inheritdoc}
22    */
23   public function build() {
24     return ['#markup' => '<span>FALSE</span>'];
25   }
26
27 }