function panels_edit_cache_method_form_submit in Panels 6.3
Same name and namespace in other branches
- 5.2 includes/display_edit.inc \panels_edit_cache_method_form_submit()
- 6.2 includes/display-edit.inc \panels_edit_cache_method_form_submit()
- 7.3 plugins/display_renderers/panels_renderer_editor.class.php \panels_edit_cache_method_form_submit()
Submit callback for panels_edit_cache_method_form.
All this needs to do is return the method.
File
- plugins/
display_renderers/ panels_renderer_editor.class.php, line 1550 - Class file to control the main Panels editor.
Code
function panels_edit_cache_method_form_submit($form, &$form_state) {
$form_state['method'] = $form_state['values']['method'];
}