Commit e730a95e authored by David Snopek's avatar David Snopek
Browse files

Issue #3305598: Fix show/hide advanced blocks after splitting the categories...

Issue #3305598: Fix show/hide advanced blocks after splitting the categories and create buttons into separate lists on the "Choose block" dialog
parent f9de6490
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ class AlterChooseBlockEventSubscriber implements EventSubscriberInterface {

        if (isset($build['block_categories']['categories'])) {
          // This means we're using Panopoly Magic's version of the controller.
          $build['block_categories']['categories']['#items'][] = $link;
          $build['block_categories']['categories']['panopoly_admin_show_hidden_blocks'] = $link;
        }
        else {
          // This is with the default Layout Builder controller.