You are here

function tvi_submit_handler in Taxonomy Views Integrator 6

Same name and namespace in other branches
  1. 8 tvi.module \tvi_submit_handler()
  2. 7 includes/tvi.admin.inc \tvi_submit_handler()

Save the view taxonomy data to the database.

See also

tvi_taxonomy_admin_form().

tvi_validate_handler().

Related topics

1 string reference to 'tvi_submit_handler'
tvi_taxonomy_admin_form in includes/tvi.admin.inc
Form builder for the main TVI administration form.

File

includes/tvi.admin.inc, line 206
TVI Administration Interface

Code

function tvi_submit_handler($form, &$form_state) {
  $settings = (object) $form_state['values']['tvi'];
  if (!$settings->is_default || $settings->status) {
    tvi_update_settings($settings);
  }
}