function views_ui_edit_display_form_validate

Same name in other branches
  1. 6.x-3.x includes/admin.inc \views_ui_edit_display_form_validate()

Validate handler for views_ui_edit_display_form.

File

includes/admin.inc, line 3458

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