interface NumberFormatterFactoryInterface in Price 8
Same name and namespace in other branches
- 3.x src/NumberFormatterFactoryInterface.php \Drupal\price\NumberFormatterFactoryInterface
- 3.0.x src/NumberFormatterFactoryInterface.php \Drupal\price\NumberFormatterFactoryInterface
Defines the interface for NumberFormatter factories.
Hierarchy
- interface \Drupal\price\NumberFormatterFactoryInterface
Expanded class hierarchy of NumberFormatterFactoryInterface
All classes that implement NumberFormatterFactoryInterface
Deprecated
Replaced by CurrencyFormatterInterface.
1 file declares its use of NumberFormatterFactoryInterface
- PriceModifiedDefaultFormatter.php in src/
Plugin/ Field/ FieldFormatter/ PriceModifiedDefaultFormatter.php
File
- src/
NumberFormatterFactoryInterface.php, line 10
Namespace
Drupal\priceView source
interface NumberFormatterFactoryInterface {
/**
* Creates an instance of the number formatter for the current locale.
*
* @return \Drupal\price\LegacyNumberFormatter
* The created number formatter.
*/
public function createInstance();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NumberFormatterFactoryInterface:: |
public | function | Creates an instance of the number formatter for the current locale. | 1 |