You are here

function signup_panels_include_directory in Signup 7

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

Implements hook_panels_include_directory().

Parameters

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

Return value

string 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 1786
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;
  }
}