Skip to content

Instantly share code, notes, and snippets.

@nedSaf
Created January 1, 2015 13:40
Show Gist options
  • Save nedSaf/8429c4da96345ce797be to your computer and use it in GitHub Desktop.
Save nedSaf/8429c4da96345ce797be to your computer and use it in GitHub Desktop.
widget validation
$element['target_id']['#element_validate'][] = 'c4m_og_vocab_validate';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment