} /**
* Reacts to the populating of a configuration mapper.
*
* @param \Drupal\config_translation\Event\ConfigMapperPopulateEvent $event
* The configuration mapper event.
*/
public function addConfigNames(ConfigMapperPopulateEvent
$event) { $mapper =
$event->
getMapper();
if ($mapper->
getBaseRouteName() === 'system.site_information_settings' &&
$mapper->
getLangcode() === 'en'
) { $mapper->
addConfigName('config_translation_test.content'
);
} }}