Drupal 8  8.0.2
LanguageDependencyInjectionTest Class Reference
Inheritance diagram for LanguageDependencyInjectionTest:

Public Member Functions

 testDependencyInjectedNewLanguage ()
 testDependencyInjectedNewDefaultLanguage ()

Additional Inherited Members

- Static Public Attributes inherited from LanguageTestBase
static $modules = array('system', 'language', 'language_test')
- Protected Member Functions inherited from LanguageTestBase
 setUp ()
- Protected Attributes inherited from LanguageTestBase

Detailed Description

Compares the default language from $GLOBALS against the dependency injected language object.


Member Function Documentation

testDependencyInjectedNewDefaultLanguage ( )

Test dependency injected Language object against a new default language object.

See Also

References Drupal\config(), ConfigurableLanguage\createFromLangcode(), Drupal\languageManager(), and Entity\load().

Here is the call graph for this function:

testDependencyInjectedNewLanguage ( )

Test dependency injected languages against a new Language object.

See Also

References format_string(), and Drupal\languageManager().

Here is the call graph for this function:

The documentation for this class was generated from the following file: