You are here

function domain_form_sitename_submit in Domain Access 5

Same name and namespace in other branches
  1. 6.2 domain.module \domain_form_sitename_submit()
  2. 7.3 domain.module \domain_form_sitename_submit()
  3. 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.'));
}