function hook_overlay_paths_alter in Overlay Paths 7
Redefine non-administrative overlay paths defined by other modules.
Parameters
$paths: An associative array of overlay using paths, as defined by implementations of hook_overlay_paths().
See also
1 invocation of hook_overlay_paths_alter()
- overlay_paths_get_overlay_paths in ./
overlay_paths.module - Get an array of non-administrative overlay paths.
File
- ./
overlay_paths.api.php, line 55 - Hooks provided by the overlay paths module.
Code
function hook_overlay_paths_alter(&$paths) {
// All user pages should appear in the overlay.
$paths['user'] = TRUE;
$paths['user/*'] = TRUE;
$paths['user/*/edit'] = FALSE;
}