CurrentLocaleInterface.php in Commerce Core 8.2
Namespace
Drupal\commerceFile
src/CurrentLocaleInterface.phpView source
<?php
namespace Drupal\commerce;
/**
* Holds a reference to the current locale, resolved on demand.
*
* @see \Drupal\commerce\CurrentLocale
*/
interface CurrentLocaleInterface {
/**
* Gets the locale for the current request.
*
* @return \Drupal\commerce\Locale
* The locale.
*/
public function getLocale();
}
Interfaces
Name![]() |
Description |
---|---|
CurrentLocaleInterface | Holds a reference to the current locale, resolved on demand. |