Returns the default language.
Return value
The language object.
File
- drupal/core/lib/Drupal/Core/TypedData/TranslatableInterface.php, line 21
- Contains \Drupal\Core\TypedData\TranslatableInterface.
Class
- TranslatableInterface
- Interface for translatable data.
Namespace
Drupal\Core\TypedData
Code
public function language();