You are here

public function EmptyHelpSection::listTopics in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/help/tests/modules/help_page_test/src/Plugin/HelpSection/EmptyHelpSection.php \Drupal\help_page_test\Plugin\HelpSection\EmptyHelpSection::listTopics()

Returns a list of topics to show in the help section.

Return value

array A sorted list of topic links or render arrays for topic links. The links will be shown in the help section; if the returned array of links is empty, the section will be shown with some generic empty text.

Overrides HelpSectionPluginInterface::listTopics

File

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

Class

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

Namespace

Drupal\help_page_test\Plugin\HelpSection

Code

public function listTopics() {
  return [];
}