function blocktheme_set in Block Theme 6
Same name and namespace in other branches
- 8 blocktheme.module \blocktheme_set()
- 5 blocktheme.module \blocktheme_set()
- 7 blocktheme.module \blocktheme_set()
Set Block Theme custom block settings.
2 calls to blocktheme_set()
- blocktheme_save in ./
blocktheme.module - Save a new block after form was submitted.
- blocktheme_update in ./
blocktheme.module - Update an existing block after the block form has been submitted.
File
- ./
blocktheme.module, line 147 - Provides a configuration option to select custom themes for blocks
Code
function blocktheme_set($blocktheme, $blocktheme_vars = NULL) {
variable_set('blocktheme', $blocktheme);
if ($blocktheme_vars !== NULL) {
variable_set('blocktheme_vars', $blocktheme_vars);
}
}