function menu_tail_to_arg

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

Related topics

File

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

Code

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