service price.number_formatter in Price 3.x
Same name and namespace in other branches
- 8 price.services.yml \price.number_formatter
- 2.0.x price.services.yml \price.number_formatter
- 2.x price.services.yml \price.number_formatter
- 3.0.x price.services.yml \price.number_formatter
Class
Drupal\price\NumberFormatter3 string references to price.number_formatter
- Number::processElement in src/
Element/ Number.php - Builds the price_number form element.
- Number::validateNumber in src/
Element/ Number.php - Validates the number element.
- Number::valueCallback in src/
Element/ Number.php - Determines how user input is mapped to an element's #value property.
File
View source
- class: Drupal\price\NumberFormatter
- arguments:
- - '@price.number_format_repository'
- - '@price.current_locale'