You are here

function _protected_node_get_failed_password_ip_limit_options in Protected Node 7

Same name and namespace in other branches
  1. 1.0.x protected_node.module \_protected_node_get_failed_password_ip_limit_options()

Helper function.

Used to get the options for the protected_node_failed_password_ip_limit variable.

2 calls to _protected_node_get_failed_password_ip_limit_options()
protected_node_admin_settings in ./protected_node.settings.inc
Define the settings form.
protected_node_variable_info in ./protected_node.variable.inc
Implements hook_variable_info().

File

./protected_node.module, line 1446
Protected Node module.

Code

function _protected_node_get_failed_password_ip_limit_options() {
  return drupal_map_assoc(array(
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    20,
    30,
    40,
    50,
    75,
    100,
    125,
    150,
    200,
    250,
    500,
  ));
}