protected function Entity::languageManager in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/Entity.php \Drupal\Core\Entity\Entity::languageManager()
Gets the language manager.
Return value
\Drupal\Core\Language\LanguageManagerInterface
File
- core/
lib/ Drupal/ Core/ Entity/ Entity.php, line 100 - Contains \Drupal\Core\Entity\Entity.
Class
- Entity
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
protected function languageManager() {
return \Drupal::languageManager();
}