Skip navigation
Help

menu_tail_to_arg

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

Returns path as one string from the argument we are currently at.

Related topics

File

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

Code

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