You are here

function layouter_config_main_form_submit in Layouter - WYSIWYG layout templates 7

Module settings form submit.

File

includes/layouter.admin.inc, line 84
Module settings form.

Code

function layouter_config_main_form_submit($form, &$form_state) {
  $values = $form_state['values'];
  variable_set('layouter_text_formats', $values['layouter_text_formats']);
  variable_set('layouter_content_types', $values['layouter_content_types']);
  variable_set('layouter_image_styles', $values['layouter_image_styles']);
  variable_set('layouter_modal_style', $values['layouter_modal_style']);
  variable_set('layouter_uri_scheme', $values['uri_scheme']);
}