function webform_validation_manage in Webform Validation 6
Same name and namespace in other branches
- 7 webform_validation.admin.inc \webform_validation_manage()
Menu callback function to show an overview of the existing validation rules, and the option to add a rule
1 string reference to 'webform_validation_manage'
- webform_validation_menu in ./
webform_validation.module - Implementation of hook_menu().
File
- ./
webform_validation.admin.inc, line 11 - Manages validation rules administration UI
Code
function webform_validation_manage($node) {
$output = '';
$rules = webform_validation_get_webform_rules($node);
$output .= theme('webform_validation_manage_overview', $rules, $node);
$output .= theme('webform_validation_manage_add_rule', $node->nid);
return $output;
}