interface CurrentLocaleInterface in Price 2.x
Same name and namespace in other branches
- 8 src/CurrentLocaleInterface.php \Drupal\price\CurrentLocaleInterface
- 3.x src/CurrentLocaleInterface.php \Drupal\price\CurrentLocaleInterface
- 2.0.x src/CurrentLocaleInterface.php \Drupal\price\CurrentLocaleInterface
- 3.0.x src/CurrentLocaleInterface.php \Drupal\price\CurrentLocaleInterface
Holds a reference to the current locale, resolved on demand.
Hierarchy
- interface \Drupal\price\CurrentLocaleInterface
Expanded class hierarchy of CurrentLocaleInterface
All classes that implement CurrentLocaleInterface
See also
File
- src/
CurrentLocaleInterface.php, line 10
Namespace
Drupal\priceView source
interface CurrentLocaleInterface {
/**
* Gets the locale for the current request.
*
* @return \Drupal\price\Locale
* The locale.
*/
public function getLocale();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CurrentLocaleInterface:: |
public | function | Gets the locale for the current request. | 1 |