Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291765

Menu blocks specific to Navigation are leaking into the Block layout UI

$
0
0

Problem/Motivation

The navigation module defines a set of derivative block plugins for each of the defined menus on your Drupal site. These blocks are meant to be used exclusively within the Navigation and not meant to be generally usable as blocks in the rest of your site. However, at present, b/c these are defined as block derivatives, they are leaking into the Block layout UI:

Steps to reproduce

  • Install Drupal core standard profile on latest 11.x
  • Enable navigation module
  • Browse to Structure > Block layout
  • Click "Place block"
  • Scroll the list and notice there are blocks listed in the "Menus (Navigation)" category

Proposed resolution

Update code to exclude all navigation_menu block plugin derivatives.

Remaining tasks

Patch

User interface changes

All navigation-specific blocks should be hidden from the Block layout UI


Viewing all articles
Browse latest Browse all 291765

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>