You are here

public function SearchableHelpInterface::listSearchableTopics in Drupal 10

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

1 method overrides SearchableHelpInterface::listSearchableTopics()
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();