Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
TranslatorInterface.php
function TranslatorInterface::getLocale
Same name in this branch
11.1.x vendor/php-tuf/composer-stager/src/API/Translation/Service/TranslatorInterface.php
\PhpTuf\ComposerStager\API\Translation\Service\TranslatorInterface::getLocale()
Returns the default locale.
File
vendor/
symfony/
translation-contracts/
TranslatorInterface.php
, line 67
Class
TranslatorInterface
@author Fabien Potencier <
fabien@symfony.com
>
Namespace
Symfony\Contracts\Translation
Code
public
function
getLocale
() : string;
RSS feed