public function Entity::entityInfo

Implements EntityInterface::entityInfo().

Overrides EntityInterface::entityInfo

6 calls to Entity::entityInfo()
Entity::createDuplicate in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements EntityInterface::createDuplicate().
Entity::getTranslationLanguages in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements TranslatableInterface::getTranslationLanguages().
Entity::isNewRevision in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements EntityInterface::isNewRevision().
Entity::label in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements EntityInterface::label().
Entity::uri in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements EntityInterface::uri().

... See full list

File

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

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

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