You are here

public function RenderedEntity::getEntityTypeId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/RenderedEntity.php \Drupal\views\Plugin\views\field\RenderedEntity::getEntityTypeId()
  2. 9 core/modules/views/src/Plugin/views/field/RenderedEntity.php \Drupal\views\Plugin\views\field\RenderedEntity::getEntityTypeId()

Returns the entity type identifier.

Return value

string The entity type identifier.

Overrides EntityTranslationRenderTrait::getEntityTypeId

4 calls to RenderedEntity::getEntityTypeId()
RenderedEntity::buildOptionsForm in core/modules/views/src/Plugin/views/field/RenderedEntity.php
RenderedEntity::calculateDependencies in core/modules/views/src/Plugin/views/field/RenderedEntity.php
RenderedEntity::getCacheTags in core/modules/views/src/Plugin/views/field/RenderedEntity.php
The cache tags associated with this object.
RenderedEntity::render in core/modules/views/src/Plugin/views/field/RenderedEntity.php

File

core/modules/views/src/Plugin/views/field/RenderedEntity.php, line 191

Class

RenderedEntity
Provides a field handler which renders an entity in a certain view mode.

Namespace

Drupal\views\Plugin\views\field

Code

public function getEntityTypeId() {
  return $this
    ->getEntityType();
}