5b6eb923683065d68fd7712028afe0ba71115d17
[yaffs-website] / web / core / modules / settings_tray / tests / modules / settings_tray_test / src / Plugin / Block / SettingsTrayFormAnnotationNoneBlock.php
1 <?php
2
3 namespace Drupal\settings_tray_test\Plugin\Block;
4
5 use Drupal\Core\Block\BlockBase;
6
7 /**
8  * Block that does nothing explicit for Settings Tray.
9  *
10  * @Block(
11  *   id = "settings_tray_test_none",
12  *   admin_label = "Settings Tray test block: forms[settings_tray] is not specified",
13  * )
14  */
15 class SettingsTrayFormAnnotationNoneBlock extends BlockBase {
16
17   /**
18    * {@inheritdoc}
19    */
20   public function build() {
21     return ['#markup' => '<span>none</span>'];
22   }
23
24 }