function system_custom_theme
7.x system.module | system_custom_theme() |
Implements hook_custom_theme().
File
- drupal-7.x/
modules/ system/ system.module, line 1958 - Configuration system that lets administrators modify the workings of the site.
Code
function system_custom_theme() {
if (user_access('view the administration theme') && path_is_admin(current_path())) {
return variable_get('admin_theme');
}
}