You are here

public function HelpSectionPluginInterface::listTopics in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/help/src/HelpSectionPluginInterface.php \Drupal\help\HelpSectionPluginInterface::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.

5 methods override HelpSectionPluginInterface::listTopics()
EmptyHelpSection::listTopics in core/modules/help/tests/modules/help_page_test/src/Plugin/HelpSection/EmptyHelpSection.php
Returns a list of topics to show in the help section.
HelpTopicSection::listTopics in core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php
Returns a list of topics to show in the help section.
HookHelpSection::listTopics in core/modules/help/src/Plugin/HelpSection/HookHelpSection.php
Returns a list of topics to show in the help section.
TestHelpSection::listTopics in core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/HelpSection/TestHelpSection.php
Returns a list of topics to show in the help section.
TourHelpSection::listTopics in core/modules/tour/src/Plugin/HelpSection/TourHelpSection.php
Returns a list of topics to show in the help section.

File

core/modules/help/src/HelpSectionPluginInterface.php, line 46

Class

HelpSectionPluginInterface
Provides an interface for a plugin for a section of the /admin/help page.

Namespace

Drupal\help

Code

public function listTopics();