function domain_form_sitename_submit in Domain Access 5
Same name and namespace in other branches
- 6.2 domain.module \domain_form_sitename_submit()
- 7.3 domain.module \domain_form_sitename_submit()
- 7.2 domain.module \domain_form_sitename_submit()
Update the default domain's sitename.
File
- ./
domain.module, line 1255 - Core module functions for the Domain Access suite.
Code
function domain_form_sitename_submit($form_id, $form_values) {
variable_set('domain_sitename', $form_values['site_name']);
drupal_set_message(t('Primary domain settings updated.'));
}