function _block_themes_access

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

1 string reference to '_block_themes_access'
block_menu in modules/block/block.module
Implements hook_menu().

File

modules/block/block.module, line 183

Code

function _block_themes_access($theme) {
    return user_access('administer blocks') && drupal_theme_access($theme);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.