You are here

function entityreference_autofill_ctools_plugin_directory in Entity reference autofill 7

Implements hook_ctools_plugin_directory().

File

./entityreference_autofill.module, line 10
Entity reference autofill module.

Code

function entityreference_autofill_ctools_plugin_directory($module, $plugin) {
  if ($module == 'entityreference' || $module == 'ctools') {
    return 'plugins/' . $plugin;
  }
}