You are here

public function Entity::getEntityTypeId in Zircon Profile 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Entity/Entity.php \Drupal\Core\Entity\Entity::getEntityTypeId()
  2. 8 core/modules/migrate/src/Plugin/migrate/destination/Entity.php \Drupal\migrate\Plugin\migrate\destination\Entity::getEntityTypeId()
Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Entity.php \Drupal\Core\Entity\Entity::getEntityTypeId()

Gets the ID of the type of the entity.

Return value

string The entity type ID.

Overrides EntityInterface::getEntityTypeId

4 calls to Entity::getEntityTypeId()
ContentEntityBase::addTranslation in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Adds a new translation to the translatable object.
Entity::getConfigDependencyName in core/lib/Drupal/Core/Entity/Entity.php
Gets the configuration dependency name.
Entity::getEntityType in core/lib/Drupal/Core/Entity/Entity.php
Gets the entity type definition.
Entity::toUrl in core/lib/Drupal/Core/Entity/Entity.php
Gets the URL object for the entity.

File

core/lib/Drupal/Core/Entity/Entity.php, line 146
Contains \Drupal\Core\Entity\Entity.

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

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