- π¬π§United Kingdom catch
This no longer existing with the new routing system.
The %menu_tail
wildcard loader for the menu system currently requires you to manually ensure the 'loader arguments' are supplied by specifying them in your menu item definition. This is well documented in the API docs for menu_tail_load:
To use this load function, you must specify the load arguments in the router item as:
$item['load arguments'] = array('%map', '%index');
But this means these extra arguments are supplied to all menu loaders for that menu item, possibly causing problems. We should be able to special case menu_tail_load so that module authors do not need to specify them.
This was discussed when menu_tail_load
was introduced: http://drupal.org/node/298561#comment-3489624 But the choice was made to document the need to add the extra code, and place the burden on module developers.
We can special case menu_tail_load
when being processed by the menu system so that module developers don't need to specify the loader arguments manually.
By doing this we can also clean up some of places where we can't use menu_tail_load
right now, such as autocompletion callbacks.
N/a
This would remove the need to specify the 'loader arguments' when using menu_tail_load
.
Closed: outdated
9.5
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This no longer existing with the new routing system.