function editablefields_ctools_plugin_directory in Editable Fields 6.3
Implementation of hook_ctools_plugin_directory().
Parameters
$module:
$plugin_type:
Return value
string
File
- ./
editablefields.module, line 25 - Editable fields module.
Code
function editablefields_ctools_plugin_directory($module, $plugin_type) {
if ($plugin_type == 'export_ui') {
return "plugins/export_ui";
}
if ($module == 'editablefields' && !empty($plugin_type)) {
return "plugins/{$plugin_type}";
}
}