You are here

public function FeaturesExportForm::__construct in Features 8.3

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

Constructs a FeaturesExportForm object.

Parameters

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

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

\Drupal\features\FeaturesGeneratorInterface $generator: The features generator.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The features generator.

File

modules/features_ui/src/Form/FeaturesExportForm.php, line 64

Class

FeaturesExportForm
Defines the configuration export form.

Namespace

Drupal\features_ui\Form

Code

public function __construct(FeaturesManagerInterface $features_manager, FeaturesAssignerInterface $assigner, FeaturesGeneratorInterface $generator, ModuleHandlerInterface $module_handler) {
  $this->featuresManager = $features_manager;
  $this->assigner = $assigner;
  $this->generator = $generator;
  $this->moduleHandler = $module_handler;
}