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.
The install_menu_create_url_alias() is a general function and really doesn't have anything to tie it strictly to the menu system, it should be named install_create_url_alias() or install_add_url_alias() and moved to system.inc.
Comment | File | Size | Author |
---|---|---|---|
#1 | install_profile_api-n412056-url_alias.patch | 1.82 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaPatch attached that renames the function to install_add_url_alias to match the other CRUD functions, and moves it to core/system.inc.
Comment #2
DamienMcKennaCan has review? ^_^ (i.e. I forgot to change the status when I submitted the last comment)
Comment #3
James Andres CreditAttribution: James Andres commentedI'm onboard. But I feel a bit uneasy breaking API's without community feedback.
Thoughts? dww, Boris, webchick .. etc?