You are here

function dashboard_theme in Drupal 7

Implements hook_theme().

File

modules/dashboard/dashboard.module, line 228
Provides a dashboard page in the administrative interface.

Code

function dashboard_theme() {
  return array(
    'dashboard' => array(
      'render element' => 'element',
    ),
    'dashboard_admin' => array(
      'render element' => 'element',
    ),
    'dashboard_region' => array(
      'render element' => 'element',
    ),
    'dashboard_disabled_blocks' => array(
      'variables' => array(
        'blocks' => NULL,
      ),
    ),
    'dashboard_disabled_block' => array(
      'variables' => array(
        'block' => NULL,
      ),
    ),
    'dashboard_admin_display_form' => array(
      // When building the form for configuring dashboard blocks, reuse the
      // Block module's template for the main block configuration form.
      'template' => 'block-admin-display-form',
      'path' => drupal_get_path('module', 'block'),
      'file' => 'block.admin.inc',
      'render element' => 'form',
    ),
  );
}