function menu_tail_to_arg

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));
}