You are here

public function TestConfigNamesMapper::setConfigFactory in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php \Drupal\Tests\config_translation\Unit\TestConfigNamesMapper::setConfigFactory()

Sets the configuration factory.

The config factory to set.

File

core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php, line 678
Contains \Drupal\Tests\config_translation\Unit\ConfigNamesMapperTest.

Class

TestConfigNamesMapper
Defines a test mapper class.

Namespace

Drupal\Tests\config_translation\Unit

Code

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