public function NumberFormatDefinitionEvent::__construct in Price 8
Same name and namespace in other branches
- 3.x src/Event/NumberFormatDefinitionEvent.php \Drupal\price\Event\NumberFormatDefinitionEvent::__construct()
- 2.0.x src/Event/NumberFormatDefinitionEvent.php \Drupal\price\Event\NumberFormatDefinitionEvent::__construct()
- 2.x src/Event/NumberFormatDefinitionEvent.php \Drupal\price\Event\NumberFormatDefinitionEvent::__construct()
- 3.0.x src/Event/NumberFormatDefinitionEvent.php \Drupal\price\Event\NumberFormatDefinitionEvent::__construct()
Constructs a new NumberFormatDefinitionEvent.
Parameters
array $definition: The number format definition.
File
- src/
Event/ NumberFormatDefinitionEvent.php, line 27
Class
- NumberFormatDefinitionEvent
- Defines the number format definition event.
Namespace
Drupal\price\EventCode
public function __construct(array $definition) {
$this->definition = $definition;
}