You are here

public function FeaturesAssignmentMethodBase::setConfigFactory in Features 8.4

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

Injects the configuration factory.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory to be used to retrieve configuration values.

Overrides FeaturesAssignmentMethodInterface::setConfigFactory

File

src/FeaturesAssignmentMethodBase.php, line 65

Class

FeaturesAssignmentMethodBase
Base class for package assignment methods.

Namespace

Drupal\features

Code

public function setConfigFactory(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
}