You are here

function signup_panels_include_directory in Signup 5.2

Same name and namespace in other branches
  1. 6.2 signup.module \signup_panels_include_directory()
  2. 6 signup.module \signup_panels_include_directory()
  3. 7 signup.module \signup_panels_include_directory()

Implementation of hook_panels_include_directory().

Parameters

$plugin_type: The plugin type for which the Panels engine is currently requesting the location of an include directory.

Return value

The location of the include directory for plugin type being requested, relative to the base directory of the module implementing this hook.

File

./signup.module, line 2942
The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…

Code

function signup_panels_include_directory($plugin_type) {
  if ($plugin_type == 'content_types') {
    return 'panels/' . $plugin_type;
  }
}