Access callback: Only enabled themes can be accessed.
Path:
- admin/structure/block/list/% (for each theme)
- admin/structure/block/demo/% (for each theme)
Parameters
$theme:
Either the name of a theme or a full theme object.
See also
block_menu()
File
- drupal/core/modules/block/block.module, line 197
- Controls the visual building blocks a page is constructed with.
Code
function _block_themes_access($theme) {
return user_access('administer blocks') && drupal_theme_access($theme);
}