You are here

public function FacetSourcePluginBase::setSearchKeys in Facets 8

Sets the search keys, or query text, submitted by the user.

Parameters

string $keys: The search keys, or query text, submitted by the user.

Return value

self An instance of this class.

Overrides FacetSourcePluginInterface::setSearchKeys

File

src/FacetSource/FacetSourcePluginBase.php, line 107

Class

FacetSourcePluginBase
Defines a base class from which other facet sources may extend.

Namespace

Drupal\facets\FacetSource

Code

public function setSearchKeys($keys) {
  $this->keys = $keys;
  return $this;
}