You are here

public function LanguageInterface::isDefault in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::isDefault()

Returns whether this language is the default language.

Return value

bool Whether the language is the default language.

2 methods override LanguageInterface::isDefault()
ConfigurableLanguage::isDefault in core/modules/language/src/Entity/ConfigurableLanguage.php
Returns whether this language is the default language.
Language::isDefault in core/lib/Drupal/Core/Language/Language.php
Returns whether this language is the default language.

File

core/lib/Drupal/Core/Language/LanguageInterface.php, line 144
Contains \Drupal\Core\Language\LanguageInterface.

Class

LanguageInterface
Defines a language.

Namespace

Drupal\Core\Language

Code

public function isDefault();