Active
Project:
Shortcut (from core)
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2019 at 17:18 UTC
Updated:
16 Aug 2026 at 17:02 UTC
Jump to comment: Most recent
There's Claro specific code in the Shortcut module which makes it hard for other themes to render the shortcut action link. Shortcut module sets a theme setting third_party_settings.shortcut.module_link on module / theme installation to Claro theme. Since hook_modules_installed isn't triggered in themes, the only way to make this work is to always add the configuration in the theme, ignoring the fact that shortcut module might not be enabled.
-
Find an alternative approach that allows properly rendering action links in other themes than Claor.
Comments
Comment #9
quietone commentedWhen Seven was removed from core the code changed to use Claro instead of Seven. I am updating the title and IS.
Comment #12
quietone commentedThe Shortcut Module was approved for removal in #3476880: [Policy] Move Shortcut module to contrib.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3569117: [meta] Tasks to deprecate the Shortcut module and the removal work in #3569121: [meta] Tasks to remove the Shortcut module.
Shortcut will be moved to a contributed project before Drupal 12.0.0 is released.
Comment #13
smustgrave commented