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

Issue #3490222 by alexpott, nicxvan: Reinstate drupal_common_theme() and deprecate it

parent fcde87f5
No related branches found
No related tags found
13 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...,!5423Draft: Resolve #3329907 "Test2",!3878Removed unused condition head title for views,!3818Issue #2140179: $entity->original gets stale between updates,!3478Issue #3337882: Deleted menus are not removed from content type config,!3154Fixes #2987987 - CSRF token validation broken on routes with optional parameters.,!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,!579Issue #2230909: Simple decimals fail to pass validation
Pipeline #352046 passed with warnings
Pipeline: drupal

#352089

    Pipeline: drupal

    #352076

      Pipeline: drupal

      #352056

        ......@@ -16,6 +16,7 @@
        use Drupal\Core\Config\StorageException;
        use Drupal\Core\Template\Attribute;
        use Drupal\Core\Template\AttributeHelper;
        use Drupal\Core\Theme\ThemeCommonElements;
        use Drupal\Core\Theme\ThemeSettings;
        use Drupal\Core\Render\Element;
        use Drupal\Core\Render\Markup;
        ......@@ -1801,3 +1802,16 @@ function _field_multiple_value_form_sort_helper($a, $b) {
        $b_weight = (is_array($b) && isset($b['_weight']['#value']) ? $b['_weight']['#value'] : 0);
        return $a_weight - $b_weight;
        }
        /**
        * Provides theme registration for themes across .inc files.
        *
        * @deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. Use
        * \Drupal\Core\Theme\ThemeCommonElements::commonElements() instead,
        *
        * @see https://www.drupal.org/node/3488470
        */
        function drupal_common_theme(): array {
        @trigger_error('drupal_common_theme() is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Theme\ThemeCommonElements::commonElements() instead. See https://www.drupal.org/node/3488470', E_USER_DEPRECATED);
        return ThemeCommonElements::commonElements();
        }
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment