EmptyHelpSection.php

Same filename and directory in other branches
  1. 9 core/modules/help/tests/modules/help_page_test/src/Plugin/HelpSection/EmptyHelpSection.php
  2. 8.9.x core/modules/help/tests/modules/help_page_test/src/Plugin/HelpSection/EmptyHelpSection.php
  3. 10 core/modules/help/tests/modules/help_page_test/src/Plugin/HelpSection/EmptyHelpSection.php

Namespace

Drupal\help_page_test\Plugin\HelpSection

File

core/modules/help/tests/modules/help_page_test/src/Plugin/HelpSection/EmptyHelpSection.php

View source
<?php

namespace Drupal\help_page_test\Plugin\HelpSection;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\help\Plugin\HelpSection\HelpSectionPluginBase;
use Drupal\help\Attribute\HelpSection;

/**
 * Provides an empty section for the help page, for testing.
 */
class EmptyHelpSection extends HelpSectionPluginBase {
    
    /**
     * {@inheritdoc}
     */
    public function listTopics() {
        return [];
    }

}

Classes

Title Deprecated Summary
EmptyHelpSection Provides an empty section for the help page, for testing.

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