function dashboard_theme
dashboard_theme()
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', ), ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!dashboard!dashboard.module/function/dashboard_theme/7.x