You are here

function og_help in Organic groups 7.2

Same name and namespace in other branches
  1. 5.8 og.module \og_help()
  2. 5 og.module \og_help()
  3. 5.2 og.module \og_help()
  4. 5.3 og.module \og_help()
  5. 5.7 og.module \og_help()
  6. 6.2 og.module \og_help()
  7. 6 og.module \og_help()
  8. 7 og.module \og_help()

Implements hook_help().

File

./og.module, line 80
Enable users to create and manage groups with roles and permissions.

Code

function og_help($path, $arg) {
  switch ($path) {
    case 'admin/help#og':
      $path = drupal_get_path('module', 'og');
      $output = '<p>' . t("Read the <a href='@url'>README.md</a> file in the Organic groups module directory.", array(
        '@url' => "/{$path}/README.md",
      )) . '</p>';
      $output .= '<p>' . t("Information about Organic Groups can also be found on the module's <a href='@og'>documentation page</a>.", array(
        '@og' => 'http://drupal.org/documentation/modules/og',
      )) . '</p>';
      return $output;
  }
}