public function PaymentMethodAddForm::__construct in Commerce Core 8.2
Constructs a new PaymentMethodAddForm instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\commerce\InlineFormManager $inline_form_manager: The inline form manager.
File
- modules/
payment/ src/ Form/ PaymentMethodAddForm.php, line 45
Class
- PaymentMethodAddForm
- Provides the payment method add form.
Namespace
Drupal\commerce_payment\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, InlineFormManager $inline_form_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->inlineFormManager = $inline_form_manager;
}