public function EntityNG::translations

Overrides Entity::translations().

@todo: Remove once Entity::translations() gets removed.

Overrides Entity::translations

File

drupal/core/lib/Drupal/Core/Entity/EntityNG.php, line 427
Contains \Drupal\Core\Entity\EntityNG.

Class

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

Namespace

Drupal\Core\Entity

Code

public function translations() {
  return $this
    ->getTranslationLanguages(FALSE);
}