You are here

function safeword_ctools_plugin_directory in Safeword 8

Same name and namespace in other branches
  1. 7 safeword.module \safeword_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./safeword.module, line 583
Provides a FieldAPI field type, widget, and several formatters for a combined human readable/machine name pair of values. Possible uses include automatic generation of editable pathauto segments, handy Views argument values, and impressing friends.

Code

function safeword_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'ctools' && $plugin_type == 'arguments') {
    return 'plugins/' . $plugin_type;
  }
}