function TestHelpSection::listSearchableTopics

Same name in other branches
  1. 9 core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/HelpSection/TestHelpSection.php \Drupal\help_topics_test\Plugin\HelpSection\TestHelpSection::listSearchableTopics()
  2. 10 core/modules/help/tests/modules/help_topics_test/src/Plugin/HelpSection/TestHelpSection.php \Drupal\help_topics_test\Plugin\HelpSection\TestHelpSection::listSearchableTopics()
  3. 11.x core/modules/help/tests/modules/help_topics_test/src/Plugin/HelpSection/TestHelpSection.php \Drupal\help_topics_test\Plugin\HelpSection\TestHelpSection::listSearchableTopics()

Overrides SearchableHelpInterface::listSearchableTopics

File

core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/HelpSection/TestHelpSection.php, line 37

Class

TestHelpSection
Provides a searchable help section for testing.

Namespace

Drupal\help_topics_test\Plugin\HelpSection

Code

public function listSearchableTopics() {
    return [
        'foo',
        'bar',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.