function webform_civicrm_form_access in Webform CiviCRM Integration 6.2
Same name and namespace in other branches
- 7.2 webform_civicrm.module \webform_civicrm_form_access()
Access callback to determine if user can see the CiviCRM tab of a webform.
1 string reference to 'webform_civicrm_form_access'
- webform_civicrm_menu in ./
webform_civicrm.module - Implements hook_menu().
File
- ./
webform_civicrm.module, line 48 - Webform CiviCRM Integration Module: Links webform submissions to contacts in a CiviCRM database. @author Coleman Watts
Code
function webform_civicrm_form_access($node) {
return node_access('update', $node) && user_access('access CiviCRM');
}