function panels_edit_layout_settings_form_validate in Panels 6.2
Same name and namespace in other branches
- 5.2 includes/display_edit.inc \panels_edit_layout_settings_form_validate()
Validate the layout settings form.
1 string reference to 'panels_edit_layout_settings_form_validate'
- panels_panel_node_view_delegator_task_handlers in plugins/
task_handlers/ panel_node_view.inc
File
- includes/
display-layout-settings.inc, line 246 - Form and ajax handling for edit layout settings
Code
function panels_edit_layout_settings_form_validate($form, &$form_state) {
if ($function = panels_plugin_get_function('layout', $form_state['layout'], 'settings validate')) {
$function($form_state['values']['layout_settings'], $form['layout_settings'], $form_state['display'], $form_state['layout'], $form_state['display']->layout_settings);
}
}