class EmptyHelpSection

Same name and namespace in other branches
  1. 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.

Plugin annotation


@HelpSection(
  id = "empty_section",
  title = @Translation("Empty section"),
  description = @Translation("This description should appear."),
)

Hierarchy

Expanded class hierarchy of EmptyHelpSection

File

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

Namespace

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

}

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