Commit da0d1c77 authored by Project Update Bot's avatar Project Update Bot Committed by Mahmoud Zayed
Browse files

Issue #3298020 by Project Update Bot, mahmoud-zayed: Automated Drupal 10 compatibility fixes

parent 4f767d46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ class ChooseSectionFromLibraryController implements ContainerInjectionInterface
        $img_path = $file->getFileUri();
      }

      $icon_url = file_url_transform_relative(file_create_url($img_path));
      $icon_url = \Drupal::service('file_url_generator')->generateString($img_path);
      $link = [
        'title' => Markup::create('<img src="' . $icon_url . '" class="section-library-link-img" /> ' . '<span class="section-library-link-label">' . $section->label() . '</span>'),
        'url' => Url::fromRoute('section_library.import_section_from_library',