You are here

public function AssignmentFormBase::__construct in Features 8.4

Same name and namespace in other branches
  1. 8.3 modules/features_ui/src/Form/AssignmentFormBase.php \Drupal\features_ui\Form\AssignmentFormBase::__construct()

Constructs a AssignmentBaseForm object.

Parameters

\Drupal\features\FeaturesManagerInterface $features_manager: The features manager.

\Drupal\features\FeaturesAssignerInterface $assigner: The assigner.

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

1 call to AssignmentFormBase::__construct()
AssignmentExcludeForm::__construct in modules/features_ui/src/Form/AssignmentExcludeForm.php
Constructs a AssignmentExcludeForm object.
1 method overrides AssignmentFormBase::__construct()
AssignmentExcludeForm::__construct in modules/features_ui/src/Form/AssignmentExcludeForm.php
Constructs a AssignmentExcludeForm object.

File

modules/features_ui/src/Form/AssignmentFormBase.php, line 56

Class

AssignmentFormBase
Configures the selected configuration assignment method for this site.

Namespace

Drupal\features_ui\Form

Code

public function __construct(FeaturesManagerInterface $features_manager, FeaturesAssignerInterface $assigner, EntityTypeManagerInterface $entity_type_manager) {
  $this->featuresManager = $features_manager;
  $this->assigner = $assigner;
  $this->entityTypeManager = $entity_type_manager;
}