function EntityBase::getEntityTypeId

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getEntityTypeId()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getEntityTypeId()
  3. 10 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getEntityTypeId()

Overrides EntityInterface::getEntityTypeId

10 calls to EntityBase::getEntityTypeId()
ContentEntityBase::addTranslation in core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::isDefaultTranslationAffectedOnly in core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::isLatestRevision in core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::isLatestTranslationAffectedRevision in core/lib/Drupal/Core/Entity/ContentEntityBase.php
EntityBase::getConfigDependencyName in core/lib/Drupal/Core/Entity/EntityBase.php
Gets the configuration dependency name.

... 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.