You are here

public function RenderedEntity::getEntityTypeId in Drupal 8

Same name and namespace in other branches
  1. 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

3 calls to RenderedEntity::getEntityTypeId()
RenderedEntity::buildOptionsForm in core/modules/views/src/Plugin/views/field/RenderedEntity.php
Default options form that provides the label widget that all fields should have.
RenderedEntity::calculateDependencies in core/modules/views/src/Plugin/views/field/RenderedEntity.php
Calculates dependencies for the configured plugin.
RenderedEntity::render in core/modules/views/src/Plugin/views/field/RenderedEntity.php
Renders the field.

File

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

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