function EntityInterface::getEntityTypeId
Gets the ID of the type of the entity.
Return value
string The entity type ID.
2 methods override EntityInterface::getEntityTypeId()
- EntityBase::getEntityTypeId in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php - ViewUI::getEntityTypeId in core/
modules/ views_ui/ src/ ViewUI.php
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityInterface.php, line 79
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public function getEntityTypeId();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.