You are here

public function EntityBase::getEntityTypeId in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getEntityTypeId()
  2. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getEntityTypeId()
8 calls to EntityBase::getEntityTypeId()
ContentEntityBase::addTranslation in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Adds a new translation to the translatable object.
ContentEntityBase::hasTranslationChanges in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Determines if the current translation of the entity has unsaved changes.
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.

... See full list

File

core/lib/Drupal/Core/Entity/EntityBase.php, line 136

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function getEntityTypeId() {
  return $this->entityTypeId;
}