function EntityTranslationRenderTrait::getView

Same name in other branches
  1. 9 core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php \Drupal\views\Entity\Render\EntityTranslationRenderTrait::getView()
  2. 8.9.x core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php \Drupal\views\Entity\Render\EntityTranslationRenderTrait::getView()
  3. 10 core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php \Drupal\views\Entity\Render\EntityTranslationRenderTrait::getView()

Returns the top object of a view.

Return value

\Drupal\views\ViewExecutable The view object.

1 call to EntityTranslationRenderTrait::getView()
EntityTranslationRenderTrait::getEntityTranslationRenderer in core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php
Returns the current renderer.
7 methods override EntityTranslationRenderTrait::getView()
BulkForm::getView in core/modules/views/src/Plugin/views/field/BulkForm.php
Returns the top object of a view.
DataEntityRow::getView in core/modules/rest/src/Plugin/views/row/DataEntityRow.php
Returns the top object of a view.
EntityFieldRenderer::getView in core/modules/views/src/Entity/Render/EntityFieldRenderer.php
Returns the top object of a view.
EntityOperations::getView in core/modules/views/src/Plugin/views/field/EntityOperations.php
Returns the top object of a view.
EntityRow::getView in core/modules/views/src/Plugin/views/row/EntityRow.php
Returns the top object of a view.

... See full list

File

core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php, line 104

Class

EntityTranslationRenderTrait
Trait used to instantiate the view's entity translation renderer.

Namespace

Drupal\views\Entity\Render

Code

protected abstract function getView();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.