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.
Issue-3393220.png

Steps to reproduce

Before 2862564
before-2862564

After 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

Command icon 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

Bhanu951 created an issue. See original summary.

bhanu951’s picture

Issue summary: View changes
StatusFileSize
new207.37 KB

bhanu951’s picture

Status: Active » Needs review

Screenshot after fix.

Only local images are allowed.

sakthi_dev’s picture

Status: Needs review » Needs work

HI @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.

roshni27’s picture

Status: Needs work » Needs review
StatusFileSize
new33.77 KB
new34.63 KB
new36.48 KB
new1.59 KB

I agree with you, Sakthi. I have provide a patch and a screenshot for reference. Kindly review.

asawari’s picture

StatusFileSize
new23.91 KB
new24.95 KB

Verified 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.

kanchan bhogade’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new27.88 KB
new23.88 KB
new24.75 KB

Hi
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

japerry’s picture

Status: Reviewed & tested by the community » Closed (outdated)
dydave’s picture