function blocktheme_theme in Block Theme 6
Same name and namespace in other branches
- 7 blocktheme.module \blocktheme_theme()
Implementation of hook_theme().
File
- ./
blocktheme.module, line 15 - Provides a configuration option to select custom themes for blocks
Code
function blocktheme_theme() {
$return = array();
if (variable_get('blocktheme_show_custom_block_theme', '')) {
// Override the default admin display form template
$return['block_admin_display_form'] = array(
'template' => 'blocktheme-admin-display-form',
);
}
return $return;
}