function fapi_validation_rule_url in Form API Validation 7.2
Same name and namespace in other branches
- 6 fapi_validation.module \fapi_validation_rule_url()
- 7 fapi_validation.module \fapi_validation_rule_url()
1 string reference to 'fapi_validation_rule_url'
- fapi_validation_fapi_validation_rules in ./
fapi_validation.module - Implementation of hook_fapi_validation_rules
File
- ./
fapi_validation.module, line 294
Code
function fapi_validation_rule_url($value, $params = array()) {
return valid_url($value, !empty($params) && $params[0] == 'absolute');
}