You are here

function webform_civicrm_theme in Webform CiviCRM Integration 7.5

Same name and namespace in other branches
  1. 8.5 webform_civicrm.module \webform_civicrm_theme()
  2. 6.2 webform_civicrm.module \webform_civicrm_theme()
  3. 6 webform_civicrm.module \webform_civicrm_theme()
  4. 7 webform_civicrm.module \webform_civicrm_theme()
  5. 7.2 webform_civicrm.module \webform_civicrm_theme()
  6. 7.3 webform_civicrm.module \webform_civicrm_theme()
  7. 7.4 webform_civicrm.module \webform_civicrm_theme()

Implements hook_theme().

Return value

array

File

./webform_civicrm.module, line 211
Webform CiviCRM Integration Module: Links webform submissions to contacts in a CiviCRM database. @author Coleman Watts

Code

function webform_civicrm_theme() {
  $theme = [
    'webform_civicrm_options_table' => [
      'render element' => 'element',
      'file' => 'includes/wf_crm_admin_form.inc',
    ],
    'display_civicrm_contact' => [
      'render element' => 'element',
      'file' => 'includes/contact_component.inc',
    ],
    'static_contact_element' => [
      'render element' => 'element',
      'file' => 'includes/contact_component.inc',
    ],
  ];
  return $theme;
}