You are here

public function RenderedEntity::getEntityTypeId in Entity API 8.0

Returns the entity type identifier.

Return value

string The entity type identifier.

Overrides EntityTranslationRenderTrait::getEntityTypeId

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

File

src/Plugin/views/field/RenderedEntity.php, line 172
Contains \Drupal\entity\Plugin\views\field\RenderedEntity.

Class

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

Namespace

Drupal\entity\Plugin\views\field

Code

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