Returns the locale of the translator.
Return value
string Always returns 'en'
Overrides TranslatorInterface::getLocale
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/DefaultTranslator.php, line 163
Class
- DefaultTranslator
- Simple translator implementation that simply replaces the parameters in
the message IDs.
Namespace
Symfony\Component\Validator
Code
public function getLocale() {
return 'en';
}