You are here

public function FeaturesGenerationMethodBase::setFeaturesManager in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/FeaturesGenerationMethodBase.php \Drupal\features\FeaturesGenerationMethodBase::setFeaturesManager()

Injects the features manager.

Parameters

\Drupal\features\FeaturesManagerInterface $features_manager: The features manager to be used to retrieve the configuration list and the assigned packages.

Overrides FeaturesGenerationMethodInterface::setFeaturesManager

File

src/FeaturesGenerationMethodBase.php, line 32

Class

FeaturesGenerationMethodBase
Base class for package assignment methods.

Namespace

Drupal\features

Code

public function setFeaturesManager(FeaturesManagerInterface $features_manager) {
  $this->featuresManager = $features_manager;
}