abstract public function RendererBase::query in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Entity/Render/RendererBase.php \Drupal\views\Entity\Render\RendererBase::query()
Alters the query if needed.
Parameters
\Drupal\views\Plugin\views\query\QueryPluginBase $query: The query to alter.
string $relationship: (optional) The relationship, used by a field.
2 methods override RendererBase::query()
- EntityFieldRenderer::query in core/
modules/ views/ src/ Entity/ Render/ EntityFieldRenderer.php - Alters the query if needed.
- EntityTranslationRendererBase::query in core/
modules/ views/ src/ Entity/ Render/ EntityTranslationRendererBase.php - Alters the query if needed.
File
- core/
modules/ views/ src/ Entity/ Render/ RendererBase.php, line 91
Class
- RendererBase
- Defines a base class for entity renderers.
Namespace
Drupal\views\Entity\RenderCode
public abstract function query(QueryPluginBase $query, $relationship = NULL);