_block_themes_access
function _block_themes_access
_block_themes_access($theme)
Menu item access callback - only admin or enabled themes can be accessed.
File
- modules/block/block.module, line 183
- 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); }
© 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!block!block.module/function/_block_themes_access/7.x