Skip to content
Snippets Groups Projects
Commit 1aecd17b authored by catch's avatar catch
Browse files

Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook

parent 309a2423
Branches
Tags
2 merge requests!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!10223132456: Fix issue where views instances are emptied before an ajax request is complete
Pipeline #426737 passed with warnings
Pipeline: drupal

#426749

    Pipeline: drupal

    #426745

      Pipeline: drupal

      #426738

        ...@@ -96,16 +96,4 @@ public function theme() : array { ...@@ -96,16 +96,4 @@ public function theme() : array {
        ]; ];
        } }
        /**
        * Implements hook_library_info_alter().
        *
        * Load responsive_image.js whenever ajax is added.
        */
        #[Hook('library_info_alter')]
        public function libraryInfoAlter(array &$libraries, $module): void {
        if ($module === 'core' && isset($libraries['drupal.ajax'])) {
        $libraries['drupal.ajax']['dependencies'][] = 'responsive_image/ajax';
        }
        }
        } }
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment