BrowserTestBase::$customTranslations

Same name in other branches
  1. 9 core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::customTranslations
  2. 8.9.x core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::customTranslations
  3. 10 core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::customTranslations

An array of custom translations suitable for SettingsEditor::rewrite().

Type: array

See also

\Drupal\Core\Site\SettingsEditor::rewrite()

File

core/tests/Drupal/Tests/BrowserTestBase.php, line 136

Class

BrowserTestBase
Provides a test case for functional Drupal tests.

Namespace

Drupal\Tests

Code

protected $customTranslations;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.