You are here

function feeds_ui_overview_form_submit in Feeds 8.2

Same name and namespace in other branches
  1. 6 feeds_ui/feeds_ui.admin.inc \feeds_ui_overview_form_submit()
  2. 7.2 feeds_ui/feeds_ui.admin.inc \feeds_ui_overview_form_submit()
  3. 7 feeds_ui/feeds_ui.admin.inc \feeds_ui_overview_form_submit()

Submit handler for feeds_ui_overview_form().

File

feeds_ui/feeds_ui.admin.inc, line 114
Contains all page callbacks, forms and theming functions for Feeds administrative pages.

Code

function feeds_ui_overview_form_submit($form, &$form_state) {
  $disabled = array();
  foreach (feeds_importer_load_all(TRUE) as $importer) {
    $disabled[$importer->id] = !$form_state['values'][$importer->id];
  }
  variable_set('default_feeds_importer', $disabled);
  feeds_cache_clear();
}