You are here

function course_ctools_plugin_directory in Course 6

Same name and namespace in other branches
  1. 7.2 course.module \course_ctools_plugin_directory()
  2. 7 course.module \course_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./course.module, line 2149
course.module Core functionality for Courses.

Code

function course_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'ctools' && $plugin_type == 'content_types') {
    return 'plugins/content_types';
  }
  if ($owner == 'course') {
    return "plugins/course/{$plugin_type}";
  }
}