You are here

public function SearchPluginBase::getKeywords in Drupal 10

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

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;
}