Commit ea57e3ac authored by xjm's avatar xjm

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

parent 929f86c3
......@@ -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');
}
......
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