You are here

function autoban_advban_help in Automatic IP ban (Autoban) 8

Implements hook_help().

File

modules/autoban_advban/autoban_advban.module, line 13
Autoban ban provider - Advanced ban.

Code

function autoban_advban_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.autoban_advban':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Autoban Advanced ban module allows integrate <a href=":advban">Advanced ban</a> module for IP ban using Autoban.', [
        ':advban' => 'https://drupal.org/project/advban',
      ]) . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<p>' . t('You may use Simple Advban Ban provider (ban individual IP address) or/and Range Advban ban provider (ban range of IP addresses).
        This values may be selected for IP Ban provider field on Add/Edit ban forms.') . '</p>';
      return $output;
  }
}