Problem/Motivation
In #2862564: Move Custom block library to Content Custom block library menu section has been moved to Content .
Currently blocks library is not available in content menu links while using admin toolbar module.

Steps to reproduce
Before 2862564

After 2862564

Proposed resolution
Add menu link to block content under content menu in a similar way where other content entity links resides
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | Afterpatch_10.0.1.png | 24.75 KB | kanchan bhogade |
| #9 | Afterpatch_10.0.png | 23.88 KB | kanchan bhogade |
| #9 | Beforepatch.png | 27.88 KB | kanchan bhogade |
| #8 | afterPatch64.png | 24.95 KB | asawari |
| #8 | beforePatch64.png | 23.91 KB | asawari |
Issue fork admin_toolbar-3393220
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:
- 3393220-add-menu-link
changes, plain diff MR !64
Comments
Comment #2
bhanu951 commentedComment #4
bhanu951 commentedScreenshot after fix.
Comment #5
sakthi_dev commentedHI @bhanu951, as Custom Block Library is moved from Structure to Content from 10.1.x only. So, this will affect sites running in 10.0.x . I think it is better to remove links adding from admin_toolbar and create a menu.links in block_content of Core.
Or can we have a separate release with this changes which supports from 10.1.x.
@bhanu951 or anyone please suggest the best approach here.
Comment #6
roshni27 commentedI agree with you, Sakthi. I have provide a patch and a screenshot for reference. Kindly review.
Comment #7
bwaindwain commentedComment #8
asawari commentedVerified the issue on Drupal 10.2 version.
The patch is applied successfully and the fix is visible after applying the patch.But not changing the status for code review and for more reviews.
- Downloaded Admin Toolbar module to reproduce the issue.
Attaching before and after screenshots for the reference.
Comment #9
kanchan bhogade commentedHi
Tested MR !64 on Drupal 10 and 10.0.1 version
The patch was applied successfully...
Test Result:
The block content is added under the Content menu.
Attaching screenshots
RTBC+1
Moving to RTBC
Comment #10
japerryComment #11
dydave commentedComment #13
dydave commented