Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
LocaleAwareInterface.php
function LocaleAwareInterface::getLocale
Returns the current locale.
1 method overrides
LocaleAwareInterface::getLocale()
AsciiSlugger::getLocale
in vendor/
symfony/
string/
Slugger/
AsciiSlugger.php
Returns the current locale.
File
vendor/
symfony/
translation-contracts/
LocaleAwareInterface.php
, line 28
Class
LocaleAwareInterface
Namespace
Symfony\Contracts\Translation
Code
public
function
getLocale
() : string;
RSS feed