You are here

public function PaymentMethodFormBase::__construct in Commerce Core 8.2

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.

File

modules/payment/src/PluginForm/PaymentMethodFormBase.php, line 55

Class

PaymentMethodFormBase

Namespace

Drupal\commerce_payment\PluginForm

Code

public function __construct(CurrentStoreInterface $current_store, EntityTypeManagerInterface $entity_type_manager, InlineFormManager $inline_form_manager, LoggerInterface $logger) {
  $this->currentStore = $current_store;
  $this->entityTypeManager = $entity_type_manager;
  $this->inlineFormManager = $inline_form_manager;
  $this->logger = $logger;
}