public function HelpSectionPluginInterface::listTopics in Drupal 10
Same name and namespace in other branches
- 8 core/modules/help/src/HelpSectionPluginInterface.php \Drupal\help\HelpSectionPluginInterface::listTopics()
- 9 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.
2 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.
- 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.
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\helpCode
public function listTopics();