You are here

function panels_edit_cache_settings_form_submit in Panels 7.3

Same name and namespace in other branches
  1. 5.2 includes/display_edit.inc \panels_edit_cache_settings_form_submit()
  2. 6.3 plugins/display_renderers/panels_renderer_editor.class.php \panels_edit_cache_settings_form_submit()
  3. 6.2 includes/display-edit.inc \panels_edit_cache_settings_form_submit()

Allows panel styles to validate their style settings.

File

plugins/display_renderers/panels_renderer_editor.class.php, line 1670
Class file to control the main Panels editor.

Code

function panels_edit_cache_settings_form_submit($form, &$form_state) {
  if ($function = panels_plugin_get_function('cache', $form_state['conf']['method'], 'settings form submit')) {
    $function($form_state['values']['settings']);
  }
  $form_state['conf']['settings'] = $form_state['values']['settings'];
}