You are here

function biblio_admin_keyword_orphans_form_validate in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 includes/biblio.admin.inc \biblio_admin_keyword_orphans_form_validate()
  2. 6 biblio.admin.inc \biblio_admin_keyword_orphans_form_validate()
  3. 7.2 includes/biblio.admin.inc \biblio_admin_keyword_orphans_form_validate()

_state

Parameters

$form:

File

includes/biblio.admin.inc, line 2781
biblio.admin.inc

Code

function biblio_admin_keyword_orphans_form_validate($form, &$form_state) {
  $check_count = array_filter($form_state['values']['words']);
  if (count($check_count) == 0) {
    form_set_error('', t('No items selected.'));
  }
}