You are here

function units_currency_ctools_plugin_directory in Units of Measurement 7

Same name and namespace in other branches
  1. 7.2 units_currency/units_currency.module \units_currency_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

units_currency/units_currency.module, line 11
Integrate Units with Currency module.

Code

function units_currency_ctools_plugin_directory($owner, $plugin_type) {
  switch ($owner) {
    case 'units':
      switch ($plugin_type) {
        case 'converters':
          return 'plugins/' . $plugin_type;
      }
      break;
  }
}