You are here

function flag_help in Flag 6.2

Same name and namespace in other branches
  1. 8.4 flag.module \flag_help()
  2. 7.3 flag.module \flag_help()
  3. 7.2 flag.module \flag_help()

Implements hook_help().

File

./flag.module, line 166
The Flag module.

Code

function flag_help($path, $arg) {
  switch ($path) {
    case FLAG_ADMIN_PATH:
      $output = '<p>' . t('This page lists all the <em>flags</em> that are currently defined on this system. You may <a href="@add-url">add new flags</a>.', array(
        '@add-url' => url(FLAG_ADMIN_PATH . '/add'),
      )) . '</p>';
      return $output;
  }
}