protected property DrupalTranslator::$locale in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Validation/DrupalTranslator.php \Drupal\Core\Validation\DrupalTranslator::locale
- 9 core/lib/Drupal/Core/Validation/DrupalTranslator.php \Drupal\Core\Validation\DrupalTranslator::locale
The locale used for translating.
Type: string
File
- core/
lib/ Drupal/ Core/ Validation/ DrupalTranslator.php, line 20
Class
- DrupalTranslator
- Translates strings using Drupal's translation system.
Namespace
Drupal\Core\ValidationCode
protected $locale;