You are here

public function CommerceCartRedirectionConfigForm::__construct in Commerce Cart Redirection 8.2

Same name and namespace in other branches
  1. 3.0.x src/Form/CommerceCartRedirectionConfigForm.php \Drupal\commerce_cart_redirection\Form\CommerceCartRedirectionConfigForm::__construct()

CommerceCartRedirectionConfigForm constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: EntityTypeManagerInterface.

\Drupal\Core\Config\ConfigManagerInterface $config_manager: ConfigManagerInterface.

\Drupal\Core\Entity\EntityTypeBundleInfo $entity_type_bundle_info: EntityTypeBundleInfo.

Overrides ConfigFormBase::__construct

File

src/Form/CommerceCartRedirectionConfigForm.php, line 47

Class

CommerceCartRedirectionConfigForm
Class CommerceCartRedirectionConfigForm.

Namespace

Drupal\commerce_cart_redirection\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ConfigManagerInterface $config_manager, EntityTypeBundleInfo $entity_type_bundle_info) {
  $this->entityTypeManager = $entity_type_manager;
  $this->configManager = $config_manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
}