You are here

commerce_shipping_example.module in Commerce Shipping 7

Same filename and directory in other branches
  1. 7.2 modules/commerce_shipping_example.module

Defines an example shipping method for testing and development.

File

modules/commerce_shipping_example.module
View source
<?php

/**
 * @file
 * Defines an example shipping method for testing and development.
 */

/**
 * Implements hook_ctools_plugin_directory().
 */
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;
  }
}