Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityTranslationRenderTrait.php

function 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();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal