You are here

function webform_validation_get_rule in Webform Validation 7

Same name and namespace in other branches
  1. 6 webform_validation.rules.inc \webform_validation_get_rule()

Get a rule entry.

Deprecated

in webform_validation:7.x-1.18 and is removed from webform_validation:7.x-2.0. Use webform_validation_rule_load().

See also

https://www.drupal.org/project/webform_validation/issues/3104320

File

./webform_validation.rules.inc, line 14
Provides API and management functions for the webform validation rules.

Code

function webform_validation_get_rule($ruleid) {
  return webform_validation_rule_load($ruleid);
}