public function EntityBCDecorator::label

Forwards the call to the decorated entity.

Overrides EntityInterface::label

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function label($langcode = NULL) {
  return $this->decorated
    ->label($langcode);
}