function synonyms_ctools_plugin_directory in Synonyms 7
Implements hook_ctools_plugin_directory().
File
- ./
synonyms.module, line 93 - Provide synonyms feature for Drupal entities.
Code
function synonyms_ctools_plugin_directory($owner, $plugin_type) {
switch ($owner) {
case 'synonyms':
switch ($plugin_type) {
case 'behavior':
return 'plugins/' . $plugin_type;
}
break;
case 'ctools':
switch ($plugin_type) {
case 'arguments':
return 'plugins/' . $plugin_type;
}
break;
case 'feeds_tamper':
switch ($plugin_type) {
case 'plugins':
return 'plugins/feeds_tamper';
}
break;
}
}