You are here

function commerce_shipping_example_ctools_plugin_directory in Commerce Shipping 7

Implements hook_ctools_plugin_directory().

File

modules/commerce_shipping_example.module, line 11
Defines an example shipping method for testing and development.

Code

function commerce_shipping_example_ctools_plugin_directory($owner, $plugin_type) {

  // Tell Ctools where our Commerce Shipping plugins are located.
  if ($owner == 'commerce_shipping') {
    return 'plugins/' . $plugin_type;
  }
}