Overrides configuration values with values in global $conf variable.
\Drupal\Core\Config\ConfigEvent $event: The Event to process.
public function configInit(ConfigEvent $event) {
global $conf;
$config = $event
->getConfig();
if (isset($conf[$config
->getName()])) {
$config
->setOverride($conf[$config
->getName()]);
}
}