function views_content_context_view_settings_form_validate

Validate a node.

1 string reference to 'views_content_context_view_settings_form_validate'
view.inc in views_content/plugins/contexts/view.inc
Plugin to provide a node context. A node context is a node wrapped in a context object that can be utilized by anything that accepts contexts.

File

views_content/plugins/contexts/view.inc, line 150

Code

function views_content_context_view_settings_form_validate($form, &$form_state) {
    if (empty($form_state['values']['view'])) {
        form_error($form['view'], t('You must select a view.'));
    }
}