function _webform_validation_get_group_types in Webform Validation 7
Same name and namespace in other branches
- 6 webform_validation.module \_webform_validation_get_group_types()
Get all webform components that are defined as a group.
1 call to _webform_validation_get_group_types()
- webform_validation_get_field_keys in ./
webform_validation.module - Helper function to get all field keys (including fields in fieldsets).
File
- ./
webform_validation.module, line 564
Code
function _webform_validation_get_group_types() {
$types = array();
foreach (webform_components() as $name => $component) {
if (isset($component['features']['group']) && $component['features']['group']) {
$types[] = $name;
}
}
return $types;
}