function _varbase_install_configure_sitemail_validate in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 7
Same name and namespace in other branches
- 7.2 varbase.profile \_varbase_install_configure_sitemail_validate()
1 string reference to '_varbase_install_configure_sitemail_validate'
- varbase_form_install_configure_form_alter in ./
varbase.profile - Implements hook_form_FORM_ID_alter() for install_configure_form().
File
- ./
varbase.profile, line 23 - Enables modules and site configuration for Varbase site installation.
Code
function _varbase_install_configure_sitemail_validate($element, &$form_state, $form) {
$form_state['values']['site_mail'] = 'noreply@' . $form_state['values']['site_mail'];
}