diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 21d8cd6..6b2fb3f 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -354,7 +354,8 @@ function install_begin_request(&$install_state) { $container->register('config.storage', 'Drupal\Core\Config\InstallStorage'); $container->register('config.context.factory', 'Drupal\Core\Config\Context\ConfigContextFactory') - ->addArgument(new Reference('event_dispatcher')); + ->addArgument(new Reference('event_dispatcher')) + ->addArgument(new Reference('uuid')); $container->register('config.context', 'Drupal\Core\Config\Context\ContextInterface') ->setFactoryService(new Reference('config.context.factory')) diff --git a/core/lib/Drupal/Core/CoreBundle.php b/core/lib/Drupal/Core/CoreBundle.php index 97e42d8..ee7a79e 100644 --- a/core/lib/Drupal/Core/CoreBundle.php +++ b/core/lib/Drupal/Core/CoreBundle.php @@ -137,7 +137,7 @@ public static function registerUuid(ContainerBuilder $container) { $uuid_class = 'Drupal\Component\Uuid\Com'; } - $container->register('uuid', $uid_class); + $container->register('uuid', $uuid_class); } }