function webform_icheck_webform_element_default_properties_alter in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_icheck/webform_icheck.module \webform_icheck_webform_element_default_properties_alter()
Implements hook_webform_element_default_properties_alter().
File
- modules/
webform_icheck/ webform_icheck.module, line 33 - Provides support for highly customizable checkboxes and radio buttons.
Code
function webform_icheck_webform_element_default_properties_alter(array &$properties, array &$definition) {
if (_webform_icheck_is_supported($definition['id'])) {
$properties['icheck'] = '';
}
}