You are here

function restful_example_ctools_plugin_directory in RESTful 7

Implements hook_ctools_plugin_directory().

File

modules/restful_example/restful_example.module, line 11
Example module for the RESTful module.

Code

function restful_example_ctools_plugin_directory($module, $plugin) {
  if ($module == 'restful') {
    return 'plugins/' . $plugin;
  }
}