public function EntityTranslationRendererBase::query in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php \Drupal\views\Entity\Render\EntityTranslationRendererBase::query()
- 10 core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php \Drupal\views\Entity\Render\EntityTranslationRendererBase::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
1 method overrides EntityTranslationRendererBase::query()
- TranslationLanguageRenderer::query in core/
modules/ views/ src/ Entity/ Render/ TranslationLanguageRenderer.php - Alters the query if needed.
File
- core/
modules/ views/ src/ Entity/ Render/ EntityTranslationRendererBase.php, line 27
Class
- EntityTranslationRendererBase
- Defines a base class for entity translation renderers.
Namespace
Drupal\views\Entity\RenderCode
public function query(QueryPluginBase $query, $relationship = NULL) {
}