function menu_tail_to_arg

7.x menu.inc menu_tail_to_arg($arg, $map, $index)
6.x menu.inc menu_tail_to_arg($arg, $map, $index)

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

Related topics

File

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

Code

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