You are here

function admin_theme_admin_paths_alter in Administration theme 7

Implementation of hook_admin_paths_alter().

File

./admin_theme.module, line 187
Enable the administration theme on more pages, then possible with Drupal's default administration page.

Code

function admin_theme_admin_paths_alter(&$paths) {
  $disallow = variable_get('admin_theme_path_disallow', '');
  if (trim($disallow) != '') {
    foreach (explode('\\n', $disallow) as $path) {
      $paths[trim($path)] = FALSE;
    }
  }
}