1.20.x views_ui.admin.inc | views_ui_edit_display_form_validate($form, &$form_state) |
Validate handler for views_ui_edit_display_form
File
- modules/
views_ui/ views_ui.admin.inc, line 3175 - Admin page callbacks for the Views UI module.
Code
function views_ui_edit_display_form_validate($form, &$form_state) {
$display = &$form_state['view']->display[$form_state['display_id']];
$display->handler->options_validate($form['options'], $form_state);
if (form_get_errors()) {
$form_state['rerender'] = TRUE;
}
}