public function EntityFieldRenderer::query in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Entity/Render/EntityFieldRenderer.php \Drupal\views\Entity\Render\EntityFieldRenderer::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.
Overrides RendererBase::query
File
- core/
modules/ views/ src/ Entity/ Render/ EntityFieldRenderer.php, line 109 - Contains \Drupal\views\Entity\Render\EntityFieldRenderer.
Class
- EntityFieldRenderer
- Renders entity fields.
Namespace
Drupal\views\Entity\RenderCode
public function query(QueryPluginBase $query, $relationship = NULL) {
$this
->getEntityTranslationRenderer()
->query($query, $relationship);
}