Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This is the first stable release of this module and thus the first release coming with Drupal Security Advisory Policy coverage.
Most importantly, this version fixes a number of issues present in the previous 8.x-1.0-rc1 release, some of which made the rc1 release unusable in certain configurations.
There are also two new features in this release:
- There is now an option to track all menus automatically. Just check the new Track all menus checkbox on the configuration page.
- If you want to completely rebuild the index for some reason, there is now a Rebuild index button on the configuration page to do that.
Please note: There are database changes in this release. Users upgrading from 8.x-1.0-rc1 must apply database updates (e.g. run update.php) for the changes to take effect. Make sure to clear all your caches once directly before running the database upgrades! Some users have reported experiencing a TypeError due to outdated service definitions being inaccurately cached by Drupal Core, if they didn't do this.
Users of this module might be affected by an issue in Drupal Core (Restore Menu Link parent references when deleting nested links), which might result in broken parent/child relationships of menu links under certain conditions. The fix for that issue has just been committed to Drupal 8.5.x and 8.6.x and should be included in Drupal Core 8.5.2 or 8.6.0 respectively. Until then, you might want to apply the core patch. Once you applied the patch or upgraded to a release that includes the fix for this issue, it is recommended to use the new Rebuild index functionality to make sure that any previously broken parent/child relationships will be updated.
There are also interface changes that might break backwards compatibility, if you replaced the Tracker service with your own implementation: A new method TrackerInterface::getConfiguration() has been introduced and the parameters of TrackerInterface::setConfiguration() have been changed.
Thanks to Kaz de Groot, Finne Fortuin (finne), Tom Voesenek, Corey (cg923) and especially Sean Blommaert (seanB) for contributing patches, bug reports or other valuable feedback to this release.
All users of Menu Entity Index 8.x-1.0-rc1 are encouraged to update to this release.
Changes since 8.x-1.0-rc1:
- #2927186 by seanB, FeyP: Wrong language in menu_entity_index table target_langcode field
- #2943382 by FeyP: Add support for aliased URLs or URLs with RewriteBase rules
- #2956376 by Tom Voesenek: Menu link indexing still breaks when parent column is filled with none existing value
- Fix typo in config schema
- DCS
- #2927492 by seanB: Add option to force index rebuilding
- #2927502 by seanB: Add option to track all menus automatically
- #2927190 by seanB: Menu link indexing breaks when parent column is filled with none existing value
- #2927181 by seanB: Add indexes to menu_entity_index table
- #2902303 by FeyP: Doesn't work with views in the menus
- Properly catch ParamNotConvertedException