public function Entity::entityType

Implements EntityInterface::entityType().

Overrides EntityInterface::entityType

2 calls to Entity::entityType()
EntityNG::getTranslation in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Implements TranslatableInterface::getTranslation().
TestEntity::bundle in drupal/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/Core/Entity/TestEntity.php
Overrides Drupal\Core\Entity\Entity::bundle().

File

drupal/core/lib/Drupal/Core/Entity/Entity.php, line 122
Definition of Drupal\Core\Entity\Entity.

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

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