You are here

function static_page_config_form_submit in Static Page 7

File

./static_page.pages.inc, line 30
static_page config form.

Code

function static_page_config_form_submit($form, &$form_state) {
  $current_types = array_filter($form_state['values']['static_page_types']);
  variable_set('static_page_types', $current_types);
  drupal_set_message(t('Your setting has been saved.'));
}