You are here

function domain_301_redirect_help in Domain 301 Redirect 8

Same name and namespace in other branches
  1. 7 domain_301_redirect.module \domain_301_redirect_help()

Implements hook_help().

File

./domain_301_redirect.module, line 13
This module allows you to 301 redirect all domains to one specific domain.

Code

function domain_301_redirect_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.domain_301_redirect':
      $output = '';
      $output .= t('The Domain 301 Redirect module allows sites to 301 redirect to a domain that is marked as the main domain. This means you can have all subdomains and other domains 301 redirect to a domain that you choose as the main domain. This provides great SEO benefit.');
      return [
        '#markup' => $output,
      ];
  }
}