You are here

function taxonomy_revision_taxonomy_form_vocabulary_submit in Taxonomy revision 7

Submit handler for the taxonomy_form_vocabulary form.

See also

taxonomy_revision_form_taxonomy_form_vocabulary_alter().

1 string reference to 'taxonomy_revision_taxonomy_form_vocabulary_submit'
taxonomy_revision_form_taxonomy_form_vocabulary_alter in ./taxonomy_revision.module
Implements hook_form_FORM_ID_alter().

File

./taxonomy_revision.module, line 463
This is the main module file for the Taxonomy revision module.

Code

function taxonomy_revision_taxonomy_form_vocabulary_submit($form, &$form_state) {
  if (!empty($form_state['vid'])) {
    _taxonomy_revision_enabled_by_default($form_state['vid'], !empty($form_state['values']['revision_by_default']));
  }
}