function TestConfigNamesMapper::setConfigFactory

Same name in other branches
  1. 9 core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php \Drupal\Tests\config_translation\Unit\TestConfigNamesMapper::setConfigFactory()
  2. 8.9.x core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php \Drupal\Tests\config_translation\Unit\TestConfigNamesMapper::setConfigFactory()
  3. 11.x 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 692

Class

TestConfigNamesMapper
Defines a test mapper class.

Namespace

Drupal\Tests\config_translation\Unit

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.