You are here

function panels_edit_cache_settings_form_submit in Panels 6.2

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. 7.3 plugins/display_renderers/panels_renderer_editor.class.php \panels_edit_cache_settings_form_submit()

Allows panel styles to validate their style settings.

Related topics

File

includes/display-edit.inc, line 945

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'];
}