TranslationManager::$sortedTranslators

Same name in other branches
  1. 9 core/lib/Drupal/Core/StringTranslation/TranslationManager.php \Drupal\Core\StringTranslation\TranslationManager::sortedTranslators
  2. 10 core/lib/Drupal/Core/StringTranslation/TranslationManager.php \Drupal\Core\StringTranslation\TranslationManager::sortedTranslators
  3. 11.x core/lib/Drupal/Core/StringTranslation/TranslationManager.php \Drupal\Core\StringTranslation\TranslationManager::sortedTranslators

An array of translators, sorted by priority.

If this is NULL a rebuild will be triggered.

Type: null|\Drupal\Core\StringTranslation\Translator\TranslatorInterface[]

See also

\Drupal\Core\StringTranslation\TranslationManager::addTranslator()

\Drupal\Core\StringTranslation\TranslationManager::sortTranslators()

File

core/lib/Drupal/Core/StringTranslation/TranslationManager.php, line 36

Class

TranslationManager
Defines a chained translation implementation combining multiple translators.

Namespace

Drupal\Core\StringTranslation

Code

protected $sortedTranslators = NULL;

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