public function FeaturesGenerator::initFeaturesManager in Features 8.3
Same name and namespace in other branches
- 8.4 src/FeaturesGenerator.php \Drupal\features\FeaturesGenerator::initFeaturesManager()
Initializes the injected features manager with the generator.
This should be called right after instantiating the generator to make it available to the features manager without introducing a circular dependency.
File
- src/
FeaturesGenerator.php, line 88
Class
- FeaturesGenerator
- Class responsible for performing package generation.
Namespace
Drupal\featuresCode
public function initFeaturesManager() {
$this->featuresManager
->setGenerator($this);
}