public function SearchableHelpInterface::listSearchableTopics in Drupal 8
Same name and namespace in other branches
- 9 core/modules/help_topics/src/SearchableHelpInterface.php \Drupal\help_topics\SearchableHelpInterface::listSearchableTopics()
- 10 core/modules/help_topics/src/SearchableHelpInterface.php \Drupal\help_topics\SearchableHelpInterface::listSearchableTopics()
Returns the IDs of topics that should be indexed for searching.
Return value
string[] An array of topic IDs that should be searchable. IDs need to be unique within this HelpSection plugin.
2 methods override SearchableHelpInterface::listSearchableTopics()
- HelpTopicSection::listSearchableTopics in core/
modules/ help_topics/ src/ Plugin/ HelpSection/ HelpTopicSection.php - Returns the IDs of topics that should be indexed for searching.
- TestHelpSection::listSearchableTopics in core/
modules/ help_topics/ tests/ modules/ help_topics_test/ src/ Plugin/ HelpSection/ TestHelpSection.php - Returns the IDs of topics that should be indexed for searching.
File
- core/
modules/ help_topics/ src/ SearchableHelpInterface.php, line 26
Class
- SearchableHelpInterface
- Provides an interface for a HelpSection plugin that also supports search.
Namespace
Drupal\help_topicsCode
public function listSearchableTopics();