Skip to content
Snippets Groups Projects
Unverified Commit 5413e9f8 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3504386 by plopesc, catch: Use a placeholder for the navigation toolbar

parent f5a836d5
No related branches found
No related tags found
7 merge requests!11197Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook,!5423Draft: Resolve #3329907 "Test2",!3478Issue #3337882: Deleted menus are not removed from content type config,!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,!579Issue #2230909: Simple decimals fail to pass validation,!213Issue #2906496: Give Media a menu item under Content
Pipeline #415771 passed with warnings
Pipeline: drupal

#415784

    Pipeline: drupal

    #415781

      Pipeline: drupal

      #415774

        ......@@ -99,7 +99,8 @@ public function buildNavigation(array &$page_top): void {
        'keys' => ['navigation', 'navigation'],
        'max-age' => CacheBackendInterface::CACHE_PERMANENT,
        ],
        '#pre_render' => ['navigation.renderer:doBuildNavigation'],
        '#lazy_builder' => ['navigation.renderer:doBuildNavigation', []],
        '#create_placeholder' => TRUE,
        ];
        }
        ......@@ -107,7 +108,8 @@ public function buildNavigation(array &$page_top): void {
        * Pre-render callback for ::buildNavigation.
        */
        #[TrustedCallback]
        public function doBuildNavigation($build): array {
        public function doBuildNavigation(): array {
        $build = [];
        $logo_settings = $this->configFactory->get('navigation.settings');
        $logo_provider = $logo_settings->get('logo.provider');
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment