function views_ui_change_style_form_validate

File

includes/admin.inc, line 3492

Code

function views_ui_change_style_form_validate($form, &$form_state) {
    // Run it through the handler's submit function.
    $form_state['handler']->options_validate($form['options'], $form_state);
    $plugin = views_get_plugin('style', $form_state['values']['style_plugin']);
    if (!$plugin) {
        form_error($form['style_plugin'], t('Internal error: broken plugin.'));
    }
}