You are here

public function SearchPluginBase::getKeywords in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::getKeywords()

Returns the currently set keywords of the plugin instance.

Return value

string The keywords.

Overrides SearchInterface::getKeywords

1 call to SearchPluginBase::getKeywords()
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 66
Contains \Drupal\search\Plugin\SearchPluginBase.

Class

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

Namespace

Drupal\search\Plugin

Code

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