function homebox_theme in Homebox 6
Same name and namespace in other branches
- 8 homebox.module \homebox_theme()
- 6.3 homebox.module \homebox_theme()
- 6.2 homebox.module \homebox_theme()
- 7.3 homebox.module \homebox_theme()
- 7.2 homebox.module \homebox_theme()
Implementation of hook_theme().
File
- ./
homebox.module, line 140 - Home box main file, takes care of global functions settings constants, etc.
Code
function homebox_theme($blocks) {
return array(
// Set hook name: see template_preprocess_homebox()
'homebox' => array(
'arguments' => array(
'regions' => $regions,
'available_blocks' => $available_blocks,
'color_css_classes' => $color_css_classes,
'column_count' => $column_count,
'pid' => $pid,
),
'template' => 'homebox',
),
'homebox_block' => array(
'arguments' => array(
'block' => $block,
'pid' => $pid,
),
'template' => 'homebox-block',
),
'homebox_admin_display_form' => array(
'template' => 'homebox-admin-display-form',
'file' => 'homebox.admin.inc',
'arguments' => array(
'form' => NULL,
),
),
'homebox_admin_new_page' => array(
'arguments' => array(
'form' => NULL,
),
'file' => 'homebox.admin.inc',
),
'homebox_views_exposed_filter' => array(
'arguments' => array(
'block' => NULL,
),
),
);
}