You are here

function password_policy_policy_load in Password Policy 7

Same name and namespace in other branches
  1. 6 password_policy.module \password_policy_policy_load()

Loads policy array from the database.

Parameters

int $pid: The policy id.

Return value

array|false A populated policy array or FALSE if not found.

File

./password_policy.module, line 192
Allows enforcing restrictions on user passwords by defining policies.

Code

function password_policy_policy_load($pid) {
  return _password_policy_load_policy_by_pid($pid);
}