You are here

function rdfui_form_taxonomy_vocabulary_form_alter in Schema.org configuration tool (RDF UI) 8

Implements hook_form_FORM_ID_alter().

File

./rdfui.module, line 69
Allows content types and fields to be mapped with RDF data from Schema.org.

Code

function rdfui_form_taxonomy_vocabulary_form_alter(&$form, &$form_state) {
  $form += TaxonomyTermMappings::alterForm($form, $form_state);

  // Add validation handler if required.
  $form['actions']['submit']['#submit'][] = 'rdfui_taxonomy_vocabulary_form_submit';
  $form['actions']['save_continue']['#submit'][] = 'rdfui_taxonomy_vocabulary_form_submit';
}