You are here

public function PaymentMethodAddForm::__construct in Commerce Authorize.Net 8

Constructs a new PaymentMethodFormBase.

Parameters

\Drupal\commerce_store\CurrentStoreInterface $current_store: The current store.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\commerce\InlineFormManager $inline_form_manager: The inline form manager.

\Psr\Log\LoggerInterface $logger: The logger.

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.

Overrides PaymentMethodFormBase::__construct

File

src/PluginForm/AcceptJs/PaymentMethodAddForm.php, line 42

Class

PaymentMethodAddForm

Namespace

Drupal\commerce_authnet\PluginForm\AcceptJs

Code

public function __construct(CurrentStoreInterface $current_store, EntityTypeManagerInterface $entity_type_manager, InlineFormManager $inline_form_manager, LoggerInterface $logger, RouteMatchInterface $route_match) {
  parent::__construct($current_store, $entity_type_manager, $inline_form_manager, $logger);
  $this->routeMatch = $route_match;
}