You are here

function restrict_by_ip_help in Restrict Login or Role Access by IP Address 5

Same name and namespace in other branches
  1. 8.4 restrict_by_ip.module \restrict_by_ip_help()
  2. 6.3 restrict_by_ip.module \restrict_by_ip_help()
  3. 6 restrict_by_ip.module \restrict_by_ip_help()
  4. 6.2 restrict_by_ip.module \restrict_by_ip_help()
  5. 7.3 restrict_by_ip.module \restrict_by_ip_help()

Implementation of hook_help(). The first case adds a little help text. The second case adds some submission guidelines on the create content page.

File

./restrict_by_ip.module, line 13
Allows the admin to select which IP Addresses can register for this site.

Code

function restrict_by_ip_help($section) {
  switch ($section) {
    case 'admin/help#restrict_by_ip':
      $output = '<p>' . t('The site administrator can limit certain users to being able to login only from certain IP Addresses.') . '</p>';
      return $output;
  }
}