You are here

function menu_tail_to_arg in Drupal 7

Same name and namespace in other branches
  1. 6 includes/menu.inc \menu_tail_to_arg()

Returns a string containing the path relative to the current index.

Related topics

File

includes/menu.inc, line 838
API for the Drupal menu system.

Code

function menu_tail_to_arg($arg, $map, $index) {
  return implode('/', array_slice($map, $index));
}