function restrict_by_ip_perm in Restrict Login or Role Access by IP Address 5
Same name and namespace in other branches
- 6.3 restrict_by_ip.module \restrict_by_ip_perm()
- 6 restrict_by_ip.module \restrict_by_ip_perm()
- 6.2 restrict_by_ip.module \restrict_by_ip_perm()
Implementation of hook_perm().
File
- ./
restrict_by_ip.module, line 64 - Allows the admin to select which IP Addresses can register for this site.
Code
function restrict_by_ip_perm() {
return array(
'administer restrict by ip',
);
}