public function DataEntityRow::getEntityTypeId in Drupal 8
Same name and namespace in other branches
- 9 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::getEntityTypeId()
- 10 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::getEntityTypeId()
Returns the entity type identifier.
Return value
string The entity type identifier.
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\rowCode
public function getEntityTypeId() {
return $this->view
->getBaseEntityType()
->id();
}