Entity::languageManager

protected Entity::languageManager()

Gets the language manager.

Return value

\Drupal\Core\Language\LanguageManagerInterface

File

core/lib/Drupal/Core/Entity/Entity.php, line 95

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

protected function languageManager() {
  return \Drupal::languageManager();
}
doc_Drupal
2016-10-29 09:04:22
Comments
Leave a Comment

Please login to continue.