function homebox_theme in Homebox 7.2
Same name and namespace in other branches
- 8 homebox.module \homebox_theme()
- 6.3 homebox.module \homebox_theme()
- 6 homebox.module \homebox_theme()
- 6.2 homebox.module \homebox_theme()
- 7.3 homebox.module \homebox_theme()
Implements hook_theme().
File
- ./
homebox.module, line 259 - Homebox main file, takes care of global functions settings constants, etc.
Code
function homebox_theme($existing, $type, $theme, $path) {
return array(
// Set hook name: see template_preprocess_homebox()
'homebox' => array(
'variables' => array(
'regions' => NULL,
'available_blocks' => NULL,
'column_count' => NULL,
'page' => NULL,
'add_links' => NULL,
'save_form' => NULL,
),
'template' => 'homebox',
),
'homebox_block' => array(
'variables' => array(
'block' => NULL,
'page' => NULL,
),
'template' => 'homebox-block',
),
'homebox_admin_display_form' => array(
'template' => 'homebox-admin-display-form',
'file' => 'homebox.admin.inc',
'render element' => 'form',
),
'homebox_admin_new_page' => array(
'render element' => 'form',
'file' => 'homebox.admin.inc',
),
);
}