function units_ctools_plugin_directory in Units of Measurement 7.2
Same name and namespace in other branches
- 7 units.module \units_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
File
- ./
units.module, line 123 - Provide API for managing and converting units of measurement.
Code
function units_ctools_plugin_directory($owner, $plugin_type) {
switch ($owner) {
case 'units':
switch ($plugin_type) {
case 'operator':
return 'plugins/' . $plugin_type;
}
break;
}
}