Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By amateescu on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
Shortcut have been decoupled from menu links, which brings the following changes:
- Shortcuts are no longer stored in the menu_links table, they have their own storage and they are translatable
- Shortcut sets no longer act as semi-bundles for menu links but as actual bundles of the new 'shortcut' entity type
- Shortcut sets no longer have to keep uuid references of their shortcuts, so the ShortcutSet::$links property has been removed
For getting all shortcuts from a shortcut set, a ShortcutSetInterface::getShortcuts()
helper method has been added.
Impacts:
Site builders, administrators, editors
Module developers