This module does not currently supply a simple_block.links.menu.yml file and has no associated administration menu items. I propose adding a menu item under the Block section of the admin menu as shown in the attached image.
| Comment | File | Size | Author |
|---|---|---|---|
| simple-blocks-menu.png | 44.83 KB | komlenic |
Issue fork simple_block-3190913
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
claudiu.cristeaI don't see why we need this menu link. Isn't there a tab, labeled Simple blocks, on the
/admin/structure/blockpage?Comment #4
komlenic commentedCorrect, there is the tab on the Block Layout page. However, adding this menu link is advantageous in that it:
By the same logic, the "Block types" and "Custom block library" menu items provided by core don't need to exist, because they too are a tab on the Block Layout page. Based on this convention, it's unexpected UX that Simple Blocks doesn't provide a menu option like the other tabs do, and that was the motivation for this issue and merge request. I think this is a worthwhile addition that addresses UX with no negative consequences. Thanks for your consideration!
Comment #5
komlenic commentedComment #6
claudiu.cristea@komlenic, you're right in #4, my bad. However, unfortunately,
block.admin_displayroute is provided by theblockmodule. But in #3206088: [PP-1] Remove dependency to Block module (may need 2.x) I want to remove the dependency toblockmodule. But where to place the page? No idea.Comment #7
claudiu.cristeaOK, as this issue is legit and #3206088: [PP-1] Remove dependency to Block module (may need 2.x) needs more research, I'm gonna approve this.
Comment #9
claudiu.cristeaMerged, thank you!