function system_custom_theme
Implements hook_custom_theme().
File
-
modules/
system/ system.module, line 1985
Code
function system_custom_theme() {
if (user_access('view the administration theme') && path_is_admin(current_path())) {
return variable_get('admin_theme');
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.