function acquia_lift_theme in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 acquia_lift.module \acquia_lift_theme()
Implements hook_theme().
File
- ./
acquia_lift.module, line 245 - acquia_lift.module Provides Acquia Lift-specific personalization functionality.
Code
function acquia_lift_theme() {
$path = drupal_get_path('module', 'acquia_lift');
return array(
'acquia_lift_personalizable_field_form' => array(
'render element' => 'element',
'path' => $path . '/theme',
'file' => 'acquia_lift.theme.inc',
),
'acquia_lift_personalize_field_weight_field_wrapper' => array(
'render element' => 'element',
'path' => $path . '/theme',
'file' => 'acquia_lift.theme.inc',
),
'acquia_lift_edit_mode_personalize_in_context_links' => array(
'render element' => 'elements',
'path' => $path . '/theme',
'file' => 'acquia_lift.theme.inc',
),
'acquia_lift_feature_filter_links' => array(
'render element' => 'element',
'path' => $path . '/theme',
'file' => 'acquia_lift.theme.inc',
),
'acquia_lift_percentage' => array(
'render element' => 'element',
'path' => $path . '/theme',
'file' => 'acquia_lift.theme.inc',
),
'acquia_lift_report_overview' => array(
'render element' => 'element',
'path' => $path . '/theme',
'file' => 'acquia_lift.theme.inc',
),
'acquia_lift_percentage_label' => array(
'path' => $path . '/theme',
'file' => 'acquia_lift.theme.inc',
'percent_label' => '',
'rest_label' => '',
'percent' => 0,
),
'acquia_lift_high_low' => array(
'path' => $path . '/theme',
'file' => 'acquia_lift.theme.inc',
'high' => 0,
'low' => 0,
'value' => 0,
),
'acquia_lift_goal_total' => array(
'goal_total' => 0,
),
// Campaign creation flow.
'acquia_lift_type_list' => array(
'path' => $path . '/theme',
'file' => 'acquia_lift.theme.inc',
'items' => array(),
),
'acquia_lift_create_type_change' => array(
'path' => $path . '/theme',
'file' => 'acquia_lift.theme.inc',
'type' => '',
'change_link' => '',
),
// Unified navbar themes.
'acquia_lift_navbar' => array(
'render element' => 'element',
'path' => $path . '/theme',
'file' => 'acquia_lift.navbar.theme.inc',
),
'acquia_lift_navbar_item' => array(
'render element' => 'element',
'path' => $path . '/theme',
'file' => 'acquia_lift.navbar.theme.inc',
),
'acquia_lift_navbar_tray_wrapper' => array(
'render element' => 'element',
'path' => $path . '/theme',
'file' => 'acquia_lift.navbar.theme.inc',
),
'acquia_lift_navbar_tray_heading_wrapper' => array(
'render element' => 'element',
'path' => $path . '/theme',
'file' => 'acquia_lift.navbar.theme.inc',
),
'menu_tree__acquia_lift_controls' => array(
'render element' => 'tree',
'function' => 'theme_acquia_lift_navbar_menu_tree',
'preprocess functions' => array(
'template_preprocess_acquia_lift_navbar_menu_tree',
),
),
);
}