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.


Member Function Documentation

rebootAndPrepareSettings ( )

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 ( )


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

Initial value:
= [

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