function blocktheme_get in Block Theme 7
Same name and namespace in other branches
- 8 blocktheme.module \blocktheme_get()
- 5 blocktheme.module \blocktheme_get()
- 6 blocktheme.module \blocktheme_get()
Get Block Theme custom block settings.
5 calls to blocktheme_get()
- blocktheme_form_block_admin_configure_alter in ./
blocktheme.module - Form for updating a block.
- blocktheme_get_theme in ./
blocktheme.module - Get custom theme for a block.
- blocktheme_preprocess_block_admin_display_form in ./
blocktheme.module - Implements template_preprocess_block_admin_display_form().
- blocktheme_save in ./
blocktheme.module - Save a new block after the block form has been submitted.
- blocktheme_update in ./
blocktheme.module - Update an existing block after the block form has been submitted.
File
- ./
blocktheme.module, line 171 - Provides a configuration option to select custom themes for blocks
Code
function blocktheme_get() {
static $blocktheme;
if (empty($blocktheme)) {
$blocktheme = variable_get('blocktheme', array());
}
return $blocktheme;
}