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