You are here

service physical.number_formatter in Physical Fields 8

Class

Drupal\physical\NumberFormatter
4 string references to physical.number_formatter
Number::processElement in src/Element/Number.php
Builds the physical_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.
PhysicalFormatterBase::create in src/Plugin/Field/FieldFormatter/PhysicalFormatterBase.php
Creates an instance of the plugin.

File

./physical.services.yml
physical.services.yml

View source
  1. class: Drupal\physical\NumberFormatter
  2. arguments:
  3. - '@language_manager'