You are here

function overlay_paths_get_overlay_paths in Overlay Paths 7

Get an array of non-administrative overlay paths.

2 calls to overlay_paths_get_overlay_paths()
overlay_paths_admin_paths in ./overlay_paths.module
Implements hook_admin_paths().
overlay_paths_overlay_child_initialize in ./overlay_paths.module
Implements hook_overlay_child_initialize().

File

./overlay_paths.module, line 10
The overlay paths module.

Code

function overlay_paths_get_overlay_paths() {
  $paths =& drupal_static(__FUNCTION__);
  if (!isset($paths)) {
    $paths = module_invoke_all('overlay_paths');
    drupal_alter('overlay_paths', $paths);
  }
  return $paths;
}