You are here

public function Views::getViewsExecutableFactory in Search API Autocomplete 8

Retrieves the Views executable factory.

Return value

\Drupal\views\ViewExecutableFactory The Views executable factory.

File

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

Class

Views
Provides autocomplete support for Views search.

Namespace

Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\search

Code

public function getViewsExecutableFactory() {
  return $this->viewsExecutableFactory ?: \Drupal::service('views.executable');
}