You are here

function globalredirect_help in Global Redirect 8

Same name and namespace in other branches
  1. 5 globalredirect.module \globalredirect_help()
  2. 6 globalredirect.module \globalredirect_help()
  3. 7 globalredirect.module \globalredirect_help()

Implements hook_help().

File

./globalredirect.module, line 13
The Global Redirect module redirects for all paths which have aliases but are not using the aliases which reduces the risk of duplicate content.

Code

function globalredirect_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.globalredirect':
      return t('This module will do a 301 redirect for all nodes which have an alias but are not using that alias.');
  }
}