Commit 6767bd97 authored by Julian Pustkuchen's avatar Julian Pustkuchen
Browse files

Issue #3147408 by Project Update Bot, Anybody: Automated Drupal 9 compatibility fixes

parent 8b19eabf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ name: 'Existing Values Autocomplete Widget'
type: module
description: 'Provides a widget for text fields that supplies an autocomplete callback with any previously entered (existing) values for the field.'
core: 8.x
core_version_requirement: ^8 || ^9
package: 'Other'
dependencies:
  - field
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ class AutocompleteController extends ControllerBase {

    if ($input = $request->query->get('q')) {
      $typed_string = Tags::explode($input);
      $typed_string = Unicode::strtolower(array_pop($typed_string));
      $typed_string = mb_strtolower(array_pop($typed_string));

      $entity_type_manager = \Drupal::entityTypeManager();
      $table_mapping = $entity_type_manager->getStorage($entity_type_id)->getTableMapping();