public function EntityBCDecorator::getPropertyDefinition

Forwards the call to the decorated entity.

Overrides ComplexDataInterface::getPropertyDefinition

File

drupal/core/lib/Drupal/Core/Entity/EntityBCDecorator.php, line 274
Contains \Drupal\Core\Entity\EntityBCDecorator.

Class

EntityBCDecorator
Provides backwards compatible (BC) access to entity fields.

Namespace

Drupal\Core\Entity

Code

public function getPropertyDefinition($name) {
  return $this->decorated
    ->getPropertyDefinition($name);
}