You are here

function wf_crm_webform_version in Webform CiviCRM Integration 7.3

Returns the major version of Webform module

Return value

int 3 or 4

1 call to wf_crm_webform_version()
wf_crm_component_token in ./webform_civicrm_admin.inc
Look-up the webform token for a field

File

./webform_civicrm_utils.inc, line 1548
Webform CiviCRM module's common utility functions.

Code

function wf_crm_webform_version() {
  module_load_include('install', 'webform');
  return function_exists('webform_update_7401') ? 4 : 3;
}