You are here

function ds_extras_settings_submit in Display Suite 7

Same name and namespace in other branches
  1. 8.4 modules/ds_extras/ds_extras.module \ds_extras_settings_submit()
  2. 8.2 modules/ds_extras/ds_extras.module \ds_extras_settings_submit()
  3. 8.3 modules/ds_extras/ds_extras.module \ds_extras_settings_submit()
  4. 7.2 modules/ds_extras/includes/ds_extras.admin.inc \ds_extras_settings_submit()

Submit callback: Extras settings screen.

1 string reference to 'ds_extras_settings_submit'
ds_extras_settings in modules/ds_extras/ds_extras.admin.inc
Menu callback: Display Suite extras settings.

File

modules/ds_extras/ds_extras.admin.inc, line 248
Display Suite Extras administrative functions.

Code

function ds_extras_settings_submit($form, &$form_state) {
  cache_clear_all('ds_fields:', 'cache', TRUE);
  cache_clear_all('entity_info:', 'cache', TRUE);
  cache_clear_all('theme_registry:', 'cache', TRUE);
  cache_clear_all('module_implements', 'cache_bootstrap');
  cache_clear_all('field_info_fields', 'cache_field');
  variable_set('menu_rebuild_needed', TRUE);
}