You are here

protected function LinkBase::getEntityTypeId in Drupal 8

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

Returns the entity type identifier.

Return value

string The entity type identifier.

Overrides EntityTranslationRenderTrait::getEntityTypeId

File

core/modules/views/src/Plugin/views/field/LinkBase.php, line 253

Class

LinkBase
Field handler to present a link to an entity.

Namespace

Drupal\views\Plugin\views\field

Code

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