The Drupal API function menu_get_item returns a router item for a given path. URL redirects are invisible to this function and must be made visible for a number of other functions to correctly validate path availability and path accessibility.

Comments

Daniel Norton’s picture

See #341856: Can't alias a redirect and my comment that it's not clear to me what component is actually responsible for this.

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

Why would you need to alias a redirect? menu_get_item will only work for valid menu callbacks that have been added using hook_menu() which is out of the scope of the path_redirect module.

dave reid’s picture

Status: Postponed (maintainer needs more info) » Fixed

No response so I'm marking as fixed.

Status: Fixed » Closed (fixed)

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