TwigTransTest::$languages
Same name in other branches
- 9 core/modules/system/tests/src/Functional/Theme/TwigTransTest.php \Drupal\Tests\system\Functional\Theme\TwigTransTest::languages
- 8.9.x core/modules/system/tests/src/Functional/Theme/TwigTransTest.php \Drupal\Tests\system\Functional\Theme\TwigTransTest::languages
- 11.x core/modules/system/tests/src/Functional/Theme/TwigTransTest.php \Drupal\Tests\system\Functional\Theme\TwigTransTest::languages
Custom languages.
Type: array
File
-
core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigTransTest.php, line 48
Class
- TwigTransTest
- Tests Twig "trans" tags.
Namespace
Drupal\Tests\system\Functional\ThemeCode
protected $languages = [
'xx' => 'Lolspeak',
'zz' => 'Lolspeak2',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.