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.
Hi,
For some reason my feature module with links export always stays override,
I started to investigate and found this code:
// This gets variables for menu_name_cleantitle:link_path format.
if (strstr($identifier, "_")) {
$link_path = substr($identifier, strpos($identifier, ":") + 1);
list($menu_name) = explode('_', $identifier, 2);
$clean_title = substr($identifier, strpos($identifier, "_") + 1, strpos($identifier, ":") - strpos($identifier, "_") - 1);
}
As I understand this used when we have "clean" menu name (don't know what clean means), but "_" could be used in URL and not as separator for menu title.
Patch attached
Comment | File | Size | Author |
---|---|---|---|
menu-link-clean-title.patch | 1.29 KB | chingis | |
Comments
Comment #2
chingis CreditAttribution: chingis commentedmenu-link-clean-title.patch queued for re-testing.
Comment #4
hefox CreditAttribution: hefox commentedmenu-link-clean-title.patch queued for re-testing.
Comment #6
hefox CreditAttribution: hefox commentedComment #7
hefox CreditAttribution: hefox commentedmenu-link-clean-title.patch queued for re-testing.
Comment #9
hefox CreditAttribution: hefox commentedPatch needs to be rerolled