public function TranslatableInterface::language
public TranslatableInterface::language()
Returns the translation language.
Return value
\Drupal\Core\Language\LanguageInterface The language object.
File
- core/lib/Drupal/Core/TypedData/TranslatableInterface.php, line 16
Class
- TranslatableInterface
- Interface for translatable data.
Namespace
Drupal\Core\TypedDataCode
public function language();
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!TranslatableInterface.php/function/TranslatableInterface::language/8.1.x