Add menu link to block content under content menu

Created on 11 October 2023, 9 months ago
Updated 28 February 2024, 4 months ago

Problem/Motivation

In ✨ Move Custom block library to Content Fixed 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

✨ Feature request
Status

RTBC

Version

3.4

Component

Code

Created by

🇮🇳India Bhanu951

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Bhanu951
  • Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 8
    last update 9 months ago
    Waiting for branch to pass
  • @bhanu951 opened merge request.
  • Status changed to Needs review 9 months ago
  • 🇮🇳India Bhanu951

    Screenshot after fix.

  • Status changed to Needs work 9 months ago
  • 🇮🇳India sakthi_dev

    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.

  • Status changed to Needs review 8 months ago
  • Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 8
    last update 8 months ago
    Waiting for branch to pass
  • 🇮🇳India roshni27

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

  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 8.1 & MySQL 5.7
    last update 8 months ago
    Patch Failed to Apply
  • 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.

  • Status changed to RTBC 4 months ago
  • 🇮🇳India Kanchan Bhogade

    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

Production build 0.69.0 2024