You are here

function multiple_registration_help in Multiple Registration 7

Same name and namespace in other branches
  1. 8.2 multiple_registration.module \multiple_registration_help()
  2. 8 multiple_registration.module \multiple_registration_help()
  3. 3.x multiple_registration.module \multiple_registration_help()

Implements hook_help().

File

./multiple_registration.module, line 653
Add ability to create several registration pages.

Code

function multiple_registration_help($path, $arg) {
  switch ($path) {
    case 'admin/help#multiple_registration':
      $path = dirname(__FILE__) . '/README.txt';
      if (file_exists($path)) {
        $readme = file_get_contents($path);
      }
      if (!isset($readme)) {
        return NULL;
      }
      $output = '<pre>' . $readme . '</pre>';
      return $output;
  }
}