You are here

public function ConfigProviderBase::setConfigFactory in Configuration Provider 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/ConfigProviderBase.php \Drupal\config_provider\Plugin\ConfigProviderBase::setConfigFactory()

Injects the active configuration storage.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.

Overrides ConfigProviderInterface::setConfigFactory

File

src/Plugin/ConfigProviderBase.php, line 54

Class

ConfigProviderBase
Base class for Configuration provider plugins.

Namespace

Drupal\config_provider\Plugin

Code

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