1 system.module _system_themes_access($theme)

Menu item access callback - only admin or enabled themes can be accessed.

File

core/modules/system/system.module, line 2010
Configuration system that lets administrators modify the workings of the site.

Code

function _system_themes_access($theme) {
  return user_access('administer themes') && backdrop_theme_access($theme);
}