public function EntityBCDecorator::getName

Forwards the call to the decorated entity.

Overrides TypedDataInterface::getName

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

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