function hook_menu_local_tasks_alter

Alter tabs and actions displayed on the page before they are rendered.

This hook is invoked by menu_local_tasks(). The system-determined tabs and actions are passed in by reference. Existing tabs or actions may be altered.

Parameters

array $data: An associative array containing tabs and actions. See hook_menu_local_tasks() for details.

array $router_item: The menu system router item of the page.

string $root_path: The path to the root item for this set of tabs.

See also

hook_menu_local_tasks()

Related topics

3 functions implement hook_menu_local_tasks_alter()
1 invocation of hook_menu_local_tasks_alter()

File

drupal/core/modules/system/system.api.php, line 989
Hooks provided by Drupal core and the System module.

Code

function hook_menu_local_tasks_alter(&$data, $router_item, $root_path) {
}