You are here

public function ProductAttributeForm::__construct in Commerce Core 8.2

Constructs a new ProductAttributeForm object.

Parameters

\Drupal\commerce_product\ProductAttributeFieldManagerInterface $attribute_field_manager: The attribute field manager.

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

File

modules/product/src/Form/ProductAttributeForm.php, line 38

Class

ProductAttributeForm

Namespace

Drupal\commerce_product\Form

Code

public function __construct(ProductAttributeFieldManagerInterface $attribute_field_manager, InlineFormManager $inline_form_manager) {
  $this->attributeFieldManager = $attribute_field_manager;
  $this->inlineFormManager = $inline_form_manager;
}