You are here

protected property TranslationManager::$sortedTranslators in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/StringTranslation/TranslationManager.php \Drupal\Core\StringTranslation\TranslationManager::sortedTranslators
  2. 9 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;