function EntityInterface::getEntityType
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getEntityType()
- 10 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getEntityType()
- 11.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getEntityType()
Gets the entity type definition.
Return value
\Drupal\Core\Entity\EntityTypeInterface The entity type definition.
2 methods override EntityInterface::getEntityType()
- EntityBase::getEntityType in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php - Gets the entity type definition.
- ViewUI::getEntityType in core/
modules/ views_ui/ src/ ViewUI.php - Gets the entity type definition.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityInterface.php, line 408
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public function getEntityType();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.