private function PasswordPolicy::loadPlugins in Password Policy 7.2
Loads all Password Policy plugins.
1 call to PasswordPolicy::loadPlugins()
- PasswordPolicy::__construct in includes/
PasswordPolicy.inc - Constructor for PasswordPolicy.
File
- includes/
PasswordPolicy.inc, line 192 - Contains PasswordPolicy.
Class
- PasswordPolicy
- Defines a class used for managing Password Policies.
Code
private function loadPlugins() {
ctools_include('plugins');
foreach (ctools_get_plugins('password_policy', 'constraint') as $info) {
$this
->loadPlugin($info);
}
foreach (ctools_get_plugins('password_policy', 'condition') as $info) {
$this
->loadPlugin($info);
}
foreach (ctools_get_plugins('password_policy', 'item') as $info) {
$this
->loadPlugin($info);
}
}