Commit b976fd2c authored by xjm's avatar xjm

Issue #3138788 by jungle, sja112, xjm: Fix "autcomplete" typos in core

parent fb33384d
...@@ -78,11 +78,11 @@ public function onRequest(RequestEvent $event) { ...@@ -78,11 +78,11 @@ public function onRequest(RequestEvent $event) {
*/ */
public function onView(RequestEvent $event) { public function onView(RequestEvent $event) {
$current_route = $this->currentRouteMatch->getRouteName(); $current_route = $this->currentRouteMatch->getRouteName();
$entity_autcomplete_route = [ $entity_autocomplete_route = [
'system.entity_autocomplete', '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')) { if ($this->container->initialized('theme.registry')) {
throw new \Exception('registry initialized'); throw new \Exception('registry initialized');
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment