You are here

function _password_policy_get_authentication_modules in Password Policy 7

Gets all authentication modules in use on site.

Return value

array Authentication modules.

1 call to _password_policy_get_authentication_modules()
password_policy_admin_form in ./password_policy.admin.inc
Form display for new or to be edited password policies.

File

./password_policy.authmap.inc, line 64
Functions to support excluding authentication modules from policies.

Code

function _password_policy_get_authentication_modules() {
  return db_select('authmap', 'a')
    ->fields('a', array(
    'module',
  ))
    ->groupBy('module')
    ->execute()
    ->fetchCol();
}