You are here

public function Query::getDisplayPluginManager in Search API 8

Retrieves the display plugin manager.

Return value

\Drupal\search_api\Display\DisplayPluginManagerInterface The display plugin manager.

1 call to Query::getDisplayPluginManager()
Query::getDisplayPlugin in src/Query/Query.php
Retrieves the search display associated with this query (if any).

File

src/Query/Query.php, line 308

Class

Query
Provides a standard implementation for a Search API query.

Namespace

Drupal\search_api\Query

Code

public function getDisplayPluginManager() {
  return $this->displayPluginManager ?: \Drupal::service('plugin.manager.search_api.display');
}