Loading core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php +2 −2 Original line number Diff line number Diff line Loading @@ -78,11 +78,11 @@ public function onRequest(GetResponseEvent $event) { */ public function onView(GetResponseEvent $event) { $current_route = $this->currentRouteMatch->getRouteName(); $entity_autcomplete_route = [ $entity_autocomplete_route = [ 'system.entity_autocomplete', ]; if (in_array($current_route, $entity_autcomplete_route)) { if (in_array($current_route, $entity_autocomplete_route)) { if ($this->container->initialized('theme.registry')) { throw new \Exception('registry initialized'); } Loading Loading
core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php +2 −2 Original line number Diff line number Diff line Loading @@ -78,11 +78,11 @@ public function onRequest(GetResponseEvent $event) { */ public function onView(GetResponseEvent $event) { $current_route = $this->currentRouteMatch->getRouteName(); $entity_autcomplete_route = [ $entity_autocomplete_route = [ 'system.entity_autocomplete', ]; if (in_array($current_route, $entity_autcomplete_route)) { if (in_array($current_route, $entity_autocomplete_route)) { if ($this->container->initialized('theme.registry')) { throw new \Exception('registry initialized'); } Loading