You are here

abstract public function RendererBase::query in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 96
Contains \Drupal\views\Entity\Render\RendererBase.

Class

RendererBase
Defines a base class for entity renderers.

Namespace

Drupal\views\Entity\Render

Code

public abstract function query(QueryPluginBase $query, $relationship = NULL);