You are here

public function Views::setViewsExecutableFactory in Search API Autocomplete 8

Sets the Views executable factory.

Parameters

\Drupal\views\ViewExecutableFactory $views_executable_factory: The new Views executable factory.

Return value

$this

File

src/Plugin/search_api_autocomplete/search/Views.php, line 69

Class

Views
Provides autocomplete support for Views search.

Namespace

Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\search

Code

public function setViewsExecutableFactory(ViewExecutableFactory $views_executable_factory) {
  $this->viewsExecutableFactory = $views_executable_factory;
  return $this;
}