Problem/Motivation

It is easy placing a slot in layout builder by using the "Add slot" link. It is also possible to reuse slots by typing the same slot_id when placing the slot like in other locations. But in order to that you need to know the exact id.
For editors this can come quite challenging and for site administrators this can lead to a bunch of unexpected created slots.

Proposed resolution

- Add a permission to add new slots
- Add a feature which allows selecting from existing slots

User interface changes

A new UI element allows placing slots from the collection of existing slots.

Issue fork slots-3551149

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

hydra created an issue. See original summary.

hydra’s picture

Assigned: Unassigned » hydra
hydra’s picture

Based on https://www.drupal.org/project/slots/issues/3477579 to reduce merge conflicts since both has been developed together anyways.

hydra changed the visibility of the branch 3551149-add-possibility-to to hidden.

hydra changed the visibility of the branch 3551149-add-possibility-to to active.

hydra’s picture

Assigned: hydra » harlor
Status: Active » Needs review
hydra’s picture

Status: Needs review » Fixed

Lets get this in.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • hydra committed ffe35717 on 1.x
    Resolve #3551149 "Add possibility to"
    

Status: Fixed » Closed (fixed)

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