You are here

public function SearchApiTerm::setTermStorage in Search API 8

Sets the term storage.

Parameters

\Drupal\taxonomy\TermStorageInterface $term_storage: The term storage.

Return value

$this

File

src/Plugin/views/argument/SearchApiTerm.php, line 94

Class

SearchApiTerm
Defines a contextual filter searching through all indexed taxonomy fields.

Namespace

Drupal\search_api\Plugin\views\argument

Code

public function setTermStorage(TermStorageInterface $term_storage) {
  $this->termStorage = $term_storage;
  return $this;
}