You are here

function entityreference_ctools_plugin_directory in Entity reference 7

Implements hook_ctools_plugin_directory().

File

./entityreference.module, line 13
Entityreference primary module file.

Code

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