class EmptyHelpSection

Same name in other branches
  1. 9 core/modules/help/tests/modules/help_page_test/src/Plugin/HelpSection/EmptyHelpSection.php \Drupal\help_page_test\Plugin\HelpSection\EmptyHelpSection
  2. 8.9.x core/modules/help/tests/modules/help_page_test/src/Plugin/HelpSection/EmptyHelpSection.php \Drupal\help_page_test\Plugin\HelpSection\EmptyHelpSection
  3. 11.x core/modules/help/tests/modules/help_page_test/src/Plugin/HelpSection/EmptyHelpSection.php \Drupal\help_page_test\Plugin\HelpSection\EmptyHelpSection

Provides an empty section for the help page, for testing.

Hierarchy

Expanded class hierarchy of EmptyHelpSection

File

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

Namespace

Drupal\help_page_test\Plugin\HelpSection
View source
class EmptyHelpSection extends HelpSectionPluginBase {
    
    /**
     * {@inheritdoc}
     */
    public function listTopics() {
        return [];
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
EmptyHelpSection::listTopics public function Returns a list of topics to show in the help section. Overrides HelpSectionPluginInterface::listTopics
HelpSectionPluginBase::getDescription public function Returns the description text for the help section. Overrides HelpSectionPluginInterface::getDescription
HelpSectionPluginBase::getTitle public function Returns the title of the help section. Overrides HelpSectionPluginInterface::getTitle
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 6
PluginInspectionInterface::getPluginId public function Gets the plugin ID of the plugin instance. 2
UnchangingCacheableDependencyTrait::getCacheContexts public function 1
UnchangingCacheableDependencyTrait::getCacheMaxAge public function 3
UnchangingCacheableDependencyTrait::getCacheTags public function 1

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