function blocktheme_theme in Block Theme 7
Same name and namespace in other branches
- 6 blocktheme.module \blocktheme_theme()
Implements hook_theme().
File
- ./
blocktheme.module, line 16 - 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;
}