You are here

function data_ui_join_form_submit in Data 6

Same name and namespace in other branches
  1. 7 data_ui/data_ui.admin.inc \data_ui_join_form_submit()

Submit handler for data_ui_join_form().

File

data_ui/data_ui.admin.inc, line 815
Admin UI functions.

Code

function data_ui_join_form_submit($form, &$form_state) {
  list($left_table, $left_field) = explode('.', $form_state['values']['left']);
  $form['#table']
    ->link($left_table, $left_field, $form['#field_name'], $form_state['values']['inner_join']);
  drupal_set_message(t('Updated join information.'));
}