function menu_tail_to_arg

menu_tail_to_arg($arg, $map, $index)

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

Related topics

File

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!menu.inc/function/menu_tail_to_arg/7.x