DrupalTranslator
class DrupalTranslator
Translates strings using Drupal's translation system.
This class is used by the Symfony validator to translate violation messages.
Hierarchy
- class \Drupal\Core\Validation\DrupalTranslator implements TranslatorInterface
File
- core/lib/Drupal/Core/Validation/DrupalTranslator.php, line 13