function EntityInterface::getEntityTypeId
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getEntityTypeId()
- 10 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getEntityTypeId()
- 11.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\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 - Gets the ID of the type of the entity.
- ViewUI::getEntityTypeId in core/
modules/ views_ui/ src/ ViewUI.php - Gets the ID of the type of the entity.
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.