function SearchPluginBase::getKeywords

Same name and namespace in other branches
  1. 9 core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::getKeywords()
  2. 8.9.x core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::getKeywords()
  3. 10 core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::getKeywords()

Overrides SearchInterface::getKeywords

3 calls to SearchPluginBase::getKeywords()
HelpSearch::findResults in core/modules/help/src/Plugin/Search/HelpSearch.php
Finds the search results.
HelpSearch::prepareResults in core/modules/help/src/Plugin/Search/HelpSearch.php
Prepares search results for display.
NodeSearch::searchFormAlter in core/modules/node/src/Plugin/Search/NodeSearch.php
Alters the search form when being built for a given plugin.

File

core/modules/search/src/Plugin/SearchPluginBase.php, line 61

Class

SearchPluginBase
Defines a base class for plugins wishing to support search.

Namespace

Drupal\search\Plugin

Code

public function getKeywords() {
    return $this->keywords;
}

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