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.
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.
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
function hook_menu_local_tasks_alter(&$data, $router_item, $root_path) {
}