Commit ea57e3ac authored by Jess's avatar Jess
Browse files

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

parent 929f86c3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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');
      }