You are here

function field_validation_ctools_plugin_api in Field Validation 7.2

Same name and namespace in other branches
  1. 7 field_validation.module \field_validation_ctools_plugin_api()

Implementation of hook_ctools_plugin_api().

Tell Ctools that we support the default_field_validation_rules API.

File

./field_validation.module, line 84
Add validation rules to field instance.

Code

function field_validation_ctools_plugin_api($owner, $api) {
  if ($owner == 'field_validation' && $api == 'default_field_validation_rules') {
    return array(
      'version' => 2,
    );
  }
}