You are here

public function ProductAttributeTranslationEditForm::__construct in Commerce Core 8.2

Constructs a new ProductAttributeTranslationEditForm object.

Parameters

\Drupal\Core\Config\TypedConfigManagerInterface $typed_config_manager: The typed configuration manager.

\Drupal\config_translation\ConfigMapperManagerInterface $config_mapper_manager: The configuration mapper manager.

\Drupal\language\ConfigurableLanguageManagerInterface $language_manager: The configurable language manager.

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

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

Overrides ConfigTranslationFormBase::__construct

File

modules/product/src/Form/ProductAttributeTranslationEditForm.php, line 36

Class

ProductAttributeTranslationEditForm
Provides the form for editing product attribute translations.

Namespace

Drupal\commerce_product\Form

Code

public function __construct(TypedConfigManagerInterface $typed_config_manager, ConfigMapperManagerInterface $config_mapper_manager, ConfigurableLanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager, InlineFormManager $inline_form_manager) {
  parent::__construct($typed_config_manager, $config_mapper_manager, $language_manager);
  $this->entityTypeManager = $entity_type_manager;
  $this->inlineFormManager = $inline_form_manager;
}