You are here

function express_dashboard_user_theme in Express 7.2

Implements hook_theme().

Adds theme functions and tempalte files for dashboards

File

modules/custom/express_dashboards/express_dashboard_user/express_dashboard_user.module, line 74

Code

function express_dashboard_user_theme(&$existing, $type, $theme, $path) {
  $registry = array();
  $template_dir = drupal_get_path('module', 'express_dashboard_user') . '/templates';
  $registry['express_dashboard_user_profile'] = array(
    'template' => 'express-dashboard-user-profile',
    'path' => $template_dir,
    'render element' => 'elements',
  );
  return $registry;
}