Drupal 8  8.0.2
TranslationStringTest Class Reference
Inheritance diagram for TranslationStringTest:

Public Member Functions

 testComparison ()
 

Static Public Attributes

static $modules
 

Protected Member Functions

 setUp ()
 
 rebootAndPrepareSettings ()
 

Detailed Description

Tests the TranslatableMarkup class.

StringTranslation

Member Function Documentation

rebootAndPrepareSettings ( )
protected

Reboots the kernel to set custom translations in Settings.

References Settings\getAll().

Referenced by TranslationStringTest\testComparison().

Here is the call graph for this function:

Here is the caller graph for this function:

setUp ( )
protected

{}

References ConfigurableLanguage\createFromLangcode().

Here is the call graph for this function:

testComparison ( )

Tests that TranslatableMarkup objects can be compared.

References TranslationStringTest\rebootAndPrepareSettings(), and Drupal\service().

Here is the call graph for this function:

Field Documentation

$modules
static
Initial value:
= [
'language'
]

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