public function EntityBCDecorator::getTranslationLanguages

Forwards the call to the decorated entity.

Overrides TranslatableInterface::getTranslationLanguages

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function getTranslationLanguages($include_default = TRUE) {
  return $this->decorated
    ->getTranslationLanguages($include_default);
}