function entityreference_prepopulate_ctools_plugin_directory in Entityreference prepopulate 7
Implements hook_ctools_plugin_directory().
File
- ./
entityreference_prepopulate.module, line 11 - Prepopulate entity reference values from URL.
Code
function entityreference_prepopulate_ctools_plugin_directory($module, $plugin) {
if ($module == 'entityreference' || $module == 'ctools') {
return 'plugins/' . $plugin;
}
}