function evoc_import_form_submit in RDF Extensions 7.2
File
- evoc/
evoc.pages.inc, line 92 - Page callbacks for importing a vocabulary.
Code
function evoc_import_form_submit($form, &$form_state) {
// @todo is that still the best way to keep the value when the form is reloaded?
$form_state['storage']['values'] = $form_state['values'];
$form_state['rebuild'] = true;
evoc_import_vocabulary($form_state['values']['ns_uri'], $form_state['values']['prefix']);
drupal_set_message(t('The @voc vocabulary has been imported.', array(
'@voc' => $form_state['values']['prefix'],
)));
}