Mailinglist
 All Data Structures Files Functions Variables Pages
Functions
mailman21.module File Reference

A Module to interface a Mailman 2.1.x mailing list to Drupal. More...

Go to the source code of this file.

Functions

 mailman21_help ($path, $arg)
 Mailman Help Generation. More...
 
 mailman21_ctools_plugin_directory ($owner, $plugin_type)
 Implements hook_ctools_plugin_directory(). More...
 

Detailed Description

A Module to interface a Mailman 2.1.x mailing list to Drupal.

Definition in file mailman21.module.

Function Documentation

mailman21_ctools_plugin_directory (   $owner,
  $plugin_type 
)

Implements hook_ctools_plugin_directory().

divides the plugins by owner module

Todo:
Condition to only return directories that we might actually be using.

mailinglist/list

Definition at line 43 of file mailman21.module.

43  {
44  return 'plugins/' . $owner . '/' . $plugin_type;
45 }
mailman21_help (   $path,
  $arg 
)

Mailman Help Generation.

Implements hook_help()

Displays help and module information

Parameters
pathWhich path of the site we're using to display help
argArray that holds the current path as returned from arg() funtion
Todo:
expand to meet help text standards: http://drupal.org/node/632280

Definition at line 21 of file mailman21.module.

21  {
22  switch ($path) {
23  case "admin/help#mailman21":
25  return '<p>' . t("Defines mailman lists to link to this site") . '</p>';
26  break;
27  }
28 }