You are here

function ip2country_help in IP-based Determination of a Visitor's Country 8

Same name and namespace in other branches
  1. 6 ip2country.module \ip2country_help()
  2. 7 ip2country.module \ip2country_help()

Implements hook_help().

File

./ip2country.module, line 37
Determination of user's Country based on IP.

Code

function ip2country_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.ip2country':

      // @todo Replace this with a controller method.
      // @see https://www.drupal.org/node/2669988
      return t('Determines the Country where the user is located based on the IP address used.');
    case 'ip2country.settings':
      return t('Configuration settings for the ip2country module.');
  }
}