function dashboard_theme

Implements hook_theme().

File

modules/dashboard/dashboard.module, line 228

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',
        ),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.