public function QueryInterface::getDisplayPlugin in Search API 8
Retrieves the search display associated with this query (if any).
If the search ID set for this query corresponds to a display plugin ID, that display will be returned. Otherwise, NULL is returned.
Return value
\Drupal\search_api\Display\DisplayInterface|null The search display associated with this query, if any; NULL otherwise.
1 method overrides QueryInterface::getDisplayPlugin()
- Query::getDisplayPlugin in src/
Query/ Query.php - Retrieves the search display associated with this query (if any).
File
- src/
Query/ QueryInterface.php, line 113
Class
- QueryInterface
- Represents a search query on a Search API index.
Namespace
Drupal\search_api\QueryCode
public function getDisplayPlugin();