You are here

function webform_civicrm_theme in Webform CiviCRM Integration 7

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.5 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().

File

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

Code

function webform_civicrm_theme() {
  $theme = array(
    // Override webform-results-submissions.tpl.php
    'webform_results_submissions' => array(
      'render element' => 'element',
      'template' => 'webform-results-submissions',
    ),
  );
  return $theme;
}