function HelpTopicSection::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.
Overrides SearchableHelpInterface::listSearchableTopics
File
- 
              core/modules/ help_topics/ src/ Plugin/ HelpSection/ HelpTopicSection.php, line 197 
Class
- HelpTopicSection
- Provides the help topics list section for the help page.
Namespace
Drupal\help_topics\Plugin\HelpSectionCode
public function listSearchableTopics() {
  $definitions = $this->pluginManager
    ->getDefinitions();
  return array_column($definitions, 'id');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
