You are here

public function SearchableHelpInterface::listSearchableTopics in Drupal 9

Same name and namespace in other branches
  1. 8 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_topics

Code

public function listSearchableTopics();