function prlp_get_hidden_account_fields in Password Reset Landing Page (PRLP) 7
Same name and namespace in other branches
- 6 prlp.module \prlp_get_hidden_account_fields()
Returns an array of fields on $form['account'] that should be hidden by PRLP.
1 call to prlp_get_hidden_account_fields()
- prlp_form_user_pass_reset_alter in ./
prlp.module - Alters the user password reset landing page.
File
- ./
prlp.module, line 242 - Password Reset Landing Page module.
Code
function prlp_get_hidden_account_fields() {
$fields =& drupal_static(__FUNCTION__);
if (!isset($fields)) {
// Break the variable value by newline separator.
$fields = explode("\n", variable_get('prlp_hidden_account_fields', PRLP_HIDDEN_ACCOUNT_FIELDS_DEFAULT));
}
return $fields;
}