Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. 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;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal