You are here

function ddf_entityreference_ctools_plugin_directory in Dynamic dependent fields 7

Implements hook_ctools_plugin_directory().

File

modules/ddf_entityreference/ddf_entityreference.module, line 6

Code

function ddf_entityreference_ctools_plugin_directory($module, $plugin) {
  if ($module == 'entityreference') {
    return 'plugins/' . $plugin;
  }
  return NULL;
}