diff --git a/core/modules/system/src/Controller/EntityAutocompleteController.php b/core/modules/system/src/Controller/EntityAutocompleteController.php index 37bec7b..9913b93 100644 --- a/core/modules/system/src/Controller/EntityAutocompleteController.php +++ b/core/modules/system/src/Controller/EntityAutocompleteController.php @@ -101,8 +101,8 @@ public function handleAutocomplete(Request $request, $target_type, $selection_ha throw new AccessDeniedHttpException(); } + // The host entity was not passed in the selection settings. Set to NULL. if (empty($selection_settings['entity'])) { - // No hos entity $selection_settings['entity'] = NULL; }