function prlp_variable_info in Password Reset Landing Page (PRLP) 7
Implements hook_variable_info().
Allow to translate variable values.
File
- ./
prlp.module, line 270 - Password Reset Landing Page module.
Code
function prlp_variable_info($options) {
$variables['prlp_confirmation_message_existing_users'] = array(
'type' => 'string',
'title' => t('Confirmation message for existing users', array(), $options),
'default' => 'Your new password has been saved.',
'description' => t('Confirmation message that will be shown to existing users after they changed their password.', array(), $options),
'group' => 'prlp_settings',
'required' => FALSE,
);
$variables['prlp_confirmation_message_new_users'] = array(
'type' => 'string',
'title' => t('Confirmation message for new users', array(), $options),
'default' => 'Thank you for setting your password, the registration process has completed.',
'description' => t('Confirmation message that will be shown to new users after they set their password.', array(), $options),
'group' => 'prlp_settings',
'required' => FALSE,
);
return $variables;
}