You are here

function field_validation_ctools_plugin_directory in Field Validation 7.2

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

Implementation of hook_ctools_plugin_directory().

File

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

Code

function field_validation_ctools_plugin_directory($module, $plugin) {
  if ($module == 'field_validation' && $plugin == 'validator') {
    return 'plugins/' . $plugin;
  }
}