diff --git a/core/lib/Drupal/Core/Config/Config.php b/core/lib/Drupal/Core/Config/Config.php index 97e94b8..2b54da8 100644 --- a/core/lib/Drupal/Core/Config/Config.php +++ b/core/lib/Drupal/Core/Config/Config.php @@ -671,7 +671,7 @@ public function getOriginal($key = '', $apply_overrides = TRUE) { public static function getSchemaName($config_name) { $schema_name = $config_name; // @todo figure out how to allow expandibility. - $optional_prefixes = array(preg_quote(ConfigFactoryInterface::LANGUAGE_CONFIG_PREFIX) . '\.[^\.]*\.'); + $optional_prefixes = array(preg_quote(ConfigFactoryInterface::LANGUAGE_CONFIG_PREFIX) . '\.[^\.]+\.'); foreach ($optional_prefixes as $prefix) { $schema_name = preg_replace('/^'. $prefix . '(.+)/', '\1', $config_name); }