You are here

public function LanguageManager::isMultilingual in Drupal 9

Same name and namespace in other branches
  1. 8 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\Language

Code

public function isMultilingual() {
  return FALSE;
}