install_menu_create_menu_item() should accept aliased URLs

DamienMcKenna - March 11, 2009 - 11:15
Project:Install Profile API
Version:6.x-2.0
Component:CRUD functions and includes
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

For ease of use, install_menu_create_menu_item() should allow a path alias as an argument.

#1

DamienMcKenna - March 11, 2009 - 11:17
Status:active» needs review

Patch attached that runs the $path through drupal_get_normal_path().

AttachmentSize
install_profile_api-n398288-menu_aliases.patch 531 bytes

#2

James Andres - March 26, 2009 - 17:31
Status:needs review» fixed

I see no problem with this. I've been using drupal_get_normal_path() all over my install profiles and it has been annoying me too. Committed.

#3

System Message - April 9, 2009 - 17:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.