public function PaymentProcess::__construct in Commerce Core 8.2
Constructs a new PaymentProcess object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowInterface $checkout_flow: The parent checkout flow.
\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.
Overrides CheckoutPaneBase::__construct
File
- modules/
payment/ src/ Plugin/ Commerce/ CheckoutPane/ PaymentProcess.php, line 65
Class
- PaymentProcess
- Provides the payment process pane.
Namespace
Drupal\commerce_payment\Plugin\Commerce\CheckoutPaneCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, CheckoutFlowInterface $checkout_flow, EntityTypeManagerInterface $entity_type_manager, InlineFormManager $inline_form_manager, LoggerInterface $logger) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $checkout_flow, $entity_type_manager);
$this->inlineFormManager = $inline_form_manager;
$this->logger = $logger;
}