public function CurrencyForm::__construct in Commerce Core 8.2
Creates a new CurrencyForm object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The currency storage.
File
- modules/
price/ src/ Form/ CurrencyForm.php, line 26
Class
Namespace
Drupal\commerce_price\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->storage = $entity_type_manager
->getStorage('commerce_currency');
}