function _system_themes_access
_system_themes_access($theme)
Menu item access callback - only admin or enabled themes can be accessed.
File
- modules/system/system.module, line 1702
- Configuration system that lets administrators modify the workings of the site.
Code
function _system_themes_access($theme) { return user_access('administer themes') && drupal_theme_access($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_themes_access/7.x