function field_validation_get_validators_selection in Field Validation 7
@todo Please document this function.
See also
1 call to field_validation_get_validators_selection()
- theme_field_validation_manage_overview in ./
field_validation.admin.inc - Themable function to list the rules assigned to a field instance
File
- ./
field_validation.validators.inc, line 718 - Provides validation functionality and hooks
Code
function field_validation_get_validators_selection() {
$selection = array();
$validators = field_validation_get_validators();
if ($validators) {
foreach ($validators as $validator_key => $validator_info) {
$selection[$validator_key] = $validator_info['name'];
}
}
return $selection;
}