function system_custom_theme
system_custom_theme()
Implements hook_custom_theme().
File
- modules/system/system.module, line 1965
- 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'); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.module/function/system_custom_theme/7.x