.../DependencyInjection/Compiler/CacheabilitySafeguardsPass.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/lib/Drupal/Core/DependencyInjection/Compiler/CacheabilitySafeguardsPass.php b/core/lib/Drupal/Core/DependencyInjection/Compiler/CacheabilitySafeguardsPass.php index 75b15d7..63ca6d6 100644 --- a/core/lib/Drupal/Core/DependencyInjection/Compiler/CacheabilitySafeguardsPass.php +++ b/core/lib/Drupal/Core/DependencyInjection/Compiler/CacheabilitySafeguardsPass.php @@ -44,9 +44,9 @@ public function process(ContainerBuilder $container) { $container->setAlias($non_bubbling, new Alias($id, FALSE)); } else { - // Decorate the non-bubbling service with a non-bubbling implementation; - // use a random ID so that the bubbling service is only ever accessed - // via its original name. + // Decorate the non-bubbling service with a bubbling implementation; use + // a random ID so that the bubbling service is only ever accessed via + // its original name. $random = new Random(); $container->register($id . '.' . strtolower($random->name()), $attributes[0]['class']) ->setArguments([new Reference($non_bubbling), new Reference('renderer')])