public function EntityBase::getEntityTypeId in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getEntityTypeId()
- 10 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getEntityTypeId()
Gets the ID of the type of the entity.
Return value
string The entity type ID.
Overrides EntityInterface::getEntityTypeId
9 calls to EntityBase::getEntityTypeId()
- ContentEntityBase::addTranslation in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Adds a new translation to the translatable object.
- ContentEntityBase::isDefaultTranslationAffectedOnly in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Checks if untranslatable fields should affect only the default translation.
- ContentEntityBase::isLatestRevision in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Checks if this entity is the latest revision.
- ContentEntityBase::isLatestTranslationAffectedRevision in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Checks whether this is the latest revision affecting this translation.
- EntityBase::getConfigDependencyName in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php - Gets the configuration dependency name.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityBase.php, line 136
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
public function getEntityTypeId() {
return $this->entityTypeId;
}