function views_content_views_attachments_content_type_edit_form_validate
File
-
views_content/
plugins/ content_types/ views_attachments.inc, line 59
Code
function views_content_views_attachments_content_type_edit_form_validate(&$form, &$form_state) {
if (!array_filter($form_state['values']['which'])) {
form_error($form['which'], t('You must select at least one attachment to display.'));
}
}