Problem/Motivation

Users should be able to quickly add new blocks and open the custom blocks library.

Steps to reproduce

Proposed resolution

We should place two links next to the block_content reference field:

  1. Open Block library (new tab) => /admin/structure/block/block-content
  2. (+) Create Block (new tab) => /block/add

I think we should add this in a field/fieldgroup hook, so we dont need to gamble with configuration.
The only other way is adding them to the block_content reference field description (configuration update).

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

thomas.frobieter created an issue. See original summary.

thomas.frobieter’s picture

anybody’s picture

Assigned: Unassigned » anybody
StatusFileSize
new30.32 KB

Thanks for creating the issue!

Should be put below the select here, correct?

thomas.frobieter’s picture

Assigned: anybody » Unassigned

Yeah, below or above, not that relevant I guess

anybody’s picture

Title: Type: Block (content) reference => Add links to the block library and block add form » 3347228-type-block-content-buttons
Status: Active » Needs review
anybody’s picture

Status: Needs review » Reviewed & tested by the community

Tested, works fine!

  • Anybody committed 4155fd6c on 4.x
    Issue #3347228 by Anybody, thomas.frobieter: 3347228-type-block-content-...
anybody’s picture

Status: Reviewed & tested by the community » Fixed
anybody’s picture

Title: 3347228-type-block-content-buttons » Type: Block (content) reference => Add links to the block library and block add form

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.