public function TestConfigNamesMapper::setConfigNames in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php \Drupal\Tests\config_translation\Unit\TestConfigNamesMapper::setConfigNames()
- 9 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: The configuration names.
File
- core/
modules/ config_translation/ tests/ src/ Unit/ ConfigNamesMapperTest.php, line 680 - Contains \Drupal\Tests\config_translation\Unit\ConfigNamesMapperTest.
Class
- TestConfigNamesMapper
- Defines a test mapper class.
Namespace
Drupal\Tests\config_translation\UnitCode
public function setConfigNames(array $config_names) {
$this->pluginDefinition['names'] = $config_names;
}