You are here

private function PasswordPolicy::loadPlugin in Password Policy 7.2

Loads a Password Policy plugin.

Parameters

object $info: Password Policy plugin information.

1 call to PasswordPolicy::loadPlugin()
PasswordPolicy::loadPlugins in includes/PasswordPolicy.inc
Loads all Password Policy plugins.

File

includes/PasswordPolicy.inc, line 211
Contains PasswordPolicy.

Class

PasswordPolicy
Defines a class used for managing Password Policies.

Code

private function loadPlugin($info) {
  if (!isset($this->config[$info['name']])) {
    $this->config[$info['name']] = array();
  }
  $this->items[$info['name']] = PasswordPolicyConstraint::factory($info, $this);
}