public function FeaturesUIController::__construct in Features 8.4
Same name and namespace in other branches
- 8.3 modules/features_ui/src/Controller/FeaturesUIController.php \Drupal\features_ui\Controller\FeaturesUIController::__construct()
Constructs a new FeaturesUIController object.
Parameters
\Drupal\features\FeaturesManagerInterface $features_manager: The features manager.
\Drupal\features\FeaturesAssignerInterface $assigner: The feature assigner.
File
- modules/
features_ui/ src/ Controller/ FeaturesUIController.php, line 38
Class
- FeaturesUIController
- Returns ajax responses for the Features UI.
Namespace
Drupal\features_ui\ControllerCode
public function __construct(FeaturesManagerInterface $features_manager, FeaturesAssignerInterface $assigner) {
$this->featuresManager = $features_manager;
$this->assigner = $assigner;
}