function DataEntityRow::getEntityTypeId

Same name and namespace in other branches
  1. 9 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::getEntityTypeId()
  2. 10 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::getEntityTypeId()
  3. 11.x core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::getEntityTypeId()

Overrides EntityTranslationRenderTrait::getEntityTypeId

File

core/modules/rest/src/Plugin/views/row/DataEntityRow.php, line 128

Class

DataEntityRow
Plugin which displays entities as raw data.

Namespace

Drupal\rest\Plugin\views\row

Code

public function getEntityTypeId() {
    return $this->view
        ->getBaseEntityType()
        ->id();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.