function menu_tail_load

Loads the path as one string relative to the current index.

To use this load function, you must specify the load arguments in the router item as:

$item['load arguments'] = array(
    '%map',
    '%index',
);

See also

search_menu().

Related topics

File

includes/menu.inc, line 853

Code

function menu_tail_load($arg, &$map, $index) {
    $arg = implode('/', array_slice($map, $index));
    $map = array_slice($map, 0, $index);
    return $arg;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.