function _mongodb_block_ui_themes_access in MongoDB 7
Menu item access callback - only admin or enabled themes can be accessed.
1 string reference to '_mongodb_block_ui_themes_access'
- mongodb_block_ui_menu in mongodb_block_ui/
mongodb_block_ui.module - Implements hook_menu().
File
- mongodb_block_ui/
mongodb_block_ui.module, line 132 - Controls the visual building mongodb_block_uis a page is constructed with.
Code
function _mongodb_block_ui_themes_access($theme) {
return user_access('administer mongodb blocks') && drupal_theme_access($theme);
}