You are here

public function HelpTopicSection::listSearchableTopics in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php \Drupal\help_topics\Plugin\HelpSection\HelpTopicSection::listSearchableTopics()
  2. 9 core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php \Drupal\help_topics\Plugin\HelpSection\HelpTopicSection::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\HelpSection

Code

public function listSearchableTopics() {
  $definitions = $this->pluginManager
    ->getDefinitions();
  return array_column($definitions, 'id');
}