public function CurrencyForm::__construct in Price 8
Same name and namespace in other branches
- 3.x src/Form/CurrencyForm.php \Drupal\price\Form\CurrencyForm::__construct()
- 2.0.x src/Form/CurrencyForm.php \Drupal\price\Form\CurrencyForm::__construct()
- 2.x src/Form/CurrencyForm.php \Drupal\price\Form\CurrencyForm::__construct()
- 3.0.x src/Form/CurrencyForm.php \Drupal\price\Form\CurrencyForm::__construct()
Creates a new CurrencyForm object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The currency storage.
File
- src/
Form/ CurrencyForm.php, line 26
Class
Namespace
Drupal\price\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->storage = $entity_type_manager
->getStorage('price_currency');
}