You are here

service price.number_formatter in Price 3.x

Same name and namespace in other branches
  1. 8 price.services.yml \price.number_formatter
  2. 2.0.x price.services.yml \price.number_formatter
  3. 2.x price.services.yml \price.number_formatter
  4. 3.0.x price.services.yml \price.number_formatter

Class

Drupal\price\NumberFormatter
3 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

./price.services.yml
price.services.yml

View source
  1. class: Drupal\price\NumberFormatter
  2. arguments:
  3. - '@price.number_format_repository'
  4. - '@price.current_locale'