You are here

function lingotek_community_select_form_submit in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.7 lingotek.setup.inc \lingotek_community_select_form_submit()
  2. 7.2 lingotek.setup.inc \lingotek_community_select_form_submit()
  3. 7.4 lingotek.setup.inc \lingotek_community_select_form_submit()
  4. 7.5 lingotek.setup.inc \lingotek_community_select_form_submit()
  5. 7.6 lingotek.setup.inc \lingotek_community_select_form_submit()

Community Select Screen - Form Submit

File

./lingotek.setup.inc, line 378

Code

function lingotek_community_select_form_submit($form, $form_state) {
  $community_identity = $form_state['values']['lingotek_site_community'];
  variable_set('lingotek_community_identifier', $community_identity);
  $_SESSION['lingotek_setup_path'][] = 'admin/config/lingotek/community-select';
  drupal_set_message(t('Your Lingotek Community Settings have been saved.'));
  drupal_goto('admin/config/lingotek/community-settings-select');

  // Move to Project Select Step.
}