SettingsTrayFormAnnotationNoneBlock.php

Same filename in other branches
  1. 9 core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationNoneBlock.php
  2. 8.9.x core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationNoneBlock.php
  3. 10 core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationNoneBlock.php

Namespace

Drupal\settings_tray_test\Plugin\Block

File

core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationNoneBlock.php

View source
<?php

declare (strict_types=1);
namespace Drupal\settings_tray_test\Plugin\Block;

use Drupal\Core\Block\Attribute\Block;
use Drupal\Core\Block\BlockBase;
use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * Block that does nothing explicit for Settings Tray.
 */
class SettingsTrayFormAnnotationNoneBlock extends BlockBase {
    
    /**
     * {@inheritdoc}
     */
    public function build() {
        return [
            '#markup' => '<span>none</span>',
        ];
    }

}

Classes

Title Deprecated Summary
SettingsTrayFormAnnotationNoneBlock Block that does nothing explicit for Settings Tray.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.