You are here

function commerce_coupon_ctools_plugin_directory in Commerce Coupon 7

Implements hook_ctools_plugin_directory().

File

./commerce_coupon.module, line 1064
Coupon System for Drupal Commerce.

Code

function commerce_coupon_ctools_plugin_directory($module, $plugin) {
  if ($module == 'entityreference' && $plugin == 'selection') {
    return 'plugins/' . $plugin;
  }
}