Defines a LanguageManager service to test URL negotiation.
Expanded class hierarchy of LanguageTestManager
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LanguageManager:: |
protected | property | Whether or not the language manager has been initialized. | |
LanguageManager:: |
protected | property | Whether already in the process of language initialization. | |
LanguageManager:: |
protected | property | An array of language objects keyed by language type. | |
LanguageManager:: |
protected | property | A request object. | |
LanguageManager:: |
public | function | Returns a language object for the given type. | |
LanguageManager:: |
protected | function | Returns a language object representing the site's default language. | |
LanguageManager:: |
protected | function | Returns an array of the available language types. | |
LanguageManager:: |
public static | function | Some common languages with their English and native names. | |
LanguageManager:: |
public | function | Returns whether or not the site has more than one language enabled. | |
LanguageManager:: |
public | function | Resets the given language type or all types if none specified. | |
LanguageManager:: |
public | function | Sets the $request property and resets all language types. | |
LanguageTestManager:: |
public | function |
Overrides \Drupal\Core\Language\LanguageManager::init(). Overrides LanguageManager:: |