public function EntityNG::getPropertyDefinitions

Implements ComplexDataInterface::getPropertyDefinitions().

Overrides Entity::getPropertyDefinitions

3 calls to EntityNG::getPropertyDefinitions()
EntityNG::getProperties in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Implements ComplexDataInterface::getProperties().
EntityNG::getPropertyDefinition in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Implements ComplexDataInterface::getPropertyDefinition().
EntityNG::getTranslation in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Implements TranslatableInterface::getTranslation().

File

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

Class

EntityNG
Implements Entity Field API specific enhancements to the Entity class.

Namespace

Drupal\Core\Entity

Code

public function getPropertyDefinitions() {
  return entity_get_controller($this->entityType)
    ->getFieldDefinitions(array(
    'entity type' => $this->entityType,
    'bundle' => $this
      ->bundle(),
  ));
}