ContentEntityBase::$languages

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::languages
  2. 10 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::languages
  3. 11.x core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::languages

Local cache for the available language objects.

Type: \Drupal\Core\Language\LanguageInterface[]

File

core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 63

Class

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

Namespace

Drupal\Core\Entity

Code

protected $languages;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.