W3cubDocs

/Drupal 8

public function LanguageInterface::isDefault

public LanguageInterface::isDefault()

Returns whether this language is the default language.

Return value

bool Whether the language is the default language.

File

core/lib/Drupal/Core/Language/LanguageInterface.php, line 139

Class

LanguageInterface
Defines a language.

Namespace

Drupal\Core\Language

Code

public function isDefault();

© 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!Language!LanguageInterface.php/function/LanguageInterface::isDefault/8.1.x