public function LanguageManager::isMultilingual in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::isMultilingual()
- 10 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::isMultilingual()
Returns whether or not the site has more than one language added.
Return value
bool TRUE if more than one language is added, FALSE otherwise.
Overrides LanguageManagerInterface::isMultilingual
1 method overrides LanguageManager::isMultilingual()
- ConfigurableLanguageManager::isMultilingual in core/
modules/ language/ src/ ConfigurableLanguageManager.php - Returns whether or not the site has more than one language added.
File
- core/
lib/ Drupal/ Core/ Language/ LanguageManager.php, line 48
Class
- LanguageManager
- Class responsible for providing language support on language-unaware sites.
Namespace
Drupal\Core\LanguageCode
public function isMultilingual() {
return FALSE;
}