function TestConfigNamesMapper::setConfigNames

Same name in other branches
  1. 9 core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php \Drupal\Tests\config_translation\Unit\TestConfigNamesMapper::setConfigNames()
  2. 10 core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php \Drupal\Tests\config_translation\Unit\TestConfigNamesMapper::setConfigNames()
  3. 11.x core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php \Drupal\Tests\config_translation\Unit\TestConfigNamesMapper::setConfigNames()

Sets the list of configuration names.

Parameters

array $config_names:

File

core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php, line 679

Class

TestConfigNamesMapper
Defines a test mapper class.

Namespace

Drupal\Tests\config_translation\Unit

Code

public function setConfigNames(array $config_names) {
    $this->pluginDefinition['names'] = $config_names;
}

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