You are here

function homebox_theme in Homebox 6.3

Same name and namespace in other branches
  1. 8 homebox.module \homebox_theme()
  2. 6 homebox.module \homebox_theme()
  3. 6.2 homebox.module \homebox_theme()
  4. 7.3 homebox.module \homebox_theme()
  5. 7.2 homebox.module \homebox_theme()

Implementation of hook_theme().

File

./homebox.module, line 218
Homebox 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' => NULL,
        'column_count' => NULL,
        'add_links' => NULL,
        'save_form' => NULL,
        'page' => NULL,
        'auto_save' => NULL,
      ),
      'template' => 'homebox',
    ),
    'homebox_block' => array(
      'arguments' => array(
        'block' => NULL,
        'page' => NULL,
      ),
      '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',
    ),
  );
}