You are here

function path_redirect_help in Path redirect 5

Same name and namespace in other branches
  1. 6 path_redirect.module \path_redirect_help()

Implementation of hook_help

File

./path_redirect.module, line 13

Code

function path_redirect_help($path) {
  switch ($path) {
    case 'admin/build/path-redirect':
      return '<p>' . t('Here you can set up URL redirecting for this site. Any existing or non-existing path within this site can redirect to any internal or external URL.') . '</p>';
    case 'admin/build/path-redirect/' . arg(2):
    case 'admin/build/path-redirect/edit/' . arg(3):
      return '<p>' . t("The <strong>from</strong> path must be an internal Drupal path in the form of 'node/123', 'admin/logs', or 'taxonomy/term/123'. The <strong>to</strong> path can be either an internal Drupal path as above or a complete external URL such as http://www.example.com/. Furthermore, the <strong>to</strong> path may contain query arguments (such as 'page=2') and fragment anchors, to make it possible to redirect to 'admin/user?page=1#help'. Most redirects will not contain queries or anchors.") . '</p>';
  }
}