You are here

function antibot_help in Antibot 8

Implements hook_help().

File

./antibot.module, line 18
Implements the antibot module.

Code

function antibot_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the antibot module.
    case 'help.page.antibot':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Prevent forms from being submitted without JavaScript enabled') . '</p>';
      return $output;
  }
}