Skip to content
Snippets Groups Projects
Verified Commit ae200eb2 authored by quietone's avatar quietone
Browse files

Issue #3492131 by lavanyatalwar, nicxvan, mstrelan, berdir: Remove references to hook_process_HOOK

parent 99a78afb
No related branches found
No related tags found
9 merge requests!11197Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook,!11131[10.4.x-only-DO-NOT-MERGE]: Issue ##2842525 Ajax attached to Views exposed filter form does not trigger callbacks,!10786Issue #3490579 by shalini_jha, mstrelan: Add void return to all views...,!3878Removed unused condition head title for views,!3818Issue #2140179: $entity->original gets stale between updates,!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!2062Issue #3246454: Add weekly granularity to views date sort,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!617Issue #3043725: Provide a Entity Handler for user cancelation
Pipeline #372147 passed with warnings
Pipeline: drupal

#372173

    Pipeline: drupal

    #372163

      Pipeline: drupal

      #372151

        ......@@ -1669,7 +1669,6 @@
        *
        * Theme hooks:
        * - hook_preprocess_HOOK()
        * - hook_process_HOOK()
        *
        * @subsection procedural-hooks Procedural hook implementation
        *
        ......
        ......@@ -77,7 +77,6 @@
        *
        * Theme hooks:
        * - hook_preprocess_HOOK()
        * - hook_process_HOOK()
        *
        * @section sec_backwards_compatibility Backwards-compatibility
        *
        ......
        ......@@ -382,7 +382,7 @@ public static function checkForProceduralOnlyHooks(Hook $hook, string $class): v
        'hook_install_tasks_alter',
        ];
        if (in_array($hook->hook, $staticDenyHooks) || preg_match('/^(post_update_|preprocess_|process_|update_\d+$)/', $hook->hook)) {
        if (in_array($hook->hook, $staticDenyHooks) || preg_match('/^(post_update_|preprocess_|update_\d+$)/', $hook->hook)) {
        throw new \LogicException("The hook $hook->hook on class $class does not support attributes and must remain procedural.");
        }
        }
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment