You are here

function term_merge_ctools_plugin_directory in Term Merge 7

Implements hook_ctools_plugin_directory().

File

./term_merge.module, line 179
Provide functionality for merging taxonomy terms one into another.

Code

function term_merge_ctools_plugin_directory($owner, $plugin_type) {
  switch ($owner) {
    case 'term_merge':
      switch ($plugin_type) {
        case 'duplicate_suggestion':
          return 'plugins/' . $plugin_type;
      }
      break;
    case 'synonyms':
      switch ($plugin_type) {
        case 'behavior':
          return 'plugins/' . $plugin_type;
      }
      break;
  }
}