- Issue created by @Grimreaper
- 🇫🇷France pdureau Paris
Shortcut are content entity: https://api.drupal.org/api/drupal/core%21modules%21shortcut%21src%21Enti...
Do we want to have source targeting a content entity?
- 🇫🇷France Grimreaper France 🇫🇷
Shortcut are content entities (like menu link content), but shortcut sets (app/core/modules/shortcut/src/Entity/ShortcutSet.php) are config entities (like menu).
So I imagined to target shortcut sets.
In fact, there is only one block "shortcut" in the "menu" category. The user is able (if with appropriate permission) to select its active shortcut set. So the active shortcut set for a user is global, and not per block instance.
So maybe we can stick to this mechanism of just retrieving the active shortcut set for the user and/or allowing to select the shortcut set if the user has permission.
I would stick to native behavior to avoid messing with permissions to select shortcut sets or not.
- 🇫🇷France pdureau Paris
Thanks for the details. It sounds interesting.
So, Mikael, beta 4? beta 5?
- 🇫🇷France pdureau Paris
What will happen if
- shortcut module is not activated
- there is no shortcut sets ?
- all shortcut sets are empty ?
Do we still show the source?
- Assigned to just_like_good_vibes
- 🇩🇪Germany Christian.wiedemann
Should we realy float our sources. We must also support them.