You are here

function field_validation_get_validators in Field Validation 7

Get a list of validator definitions

4 calls to field_validation_get_validators()
field_validation_ctools_export_ui_form in plugins/export_ui/field_validation_export_ui.inc
Define the add/edit form of validation rule.
field_validation_get_validators_selection in ./field_validation.validators.inc
@todo Please document this function.
field_validation_get_validator_info in ./field_validation.validators.inc
@todo Please document this function.
theme_field_validation_manage_add_rule in ./field_validation.module
Theme the 'add rule' list

File

./field_validation.validators.inc, line 707
Provides validation functionality and hooks

Code

function field_validation_get_validators() {
  $validators = module_invoke_all("field_validation_validators");

  // let modules use hook_field_validator_alter($validators) to change validator settings
  drupal_alter('field_validator', $validators);
  return $validators;
}