You are here

function shs_form_taxonomy_form_term_submit in Simple hierarchical select 7

Submit callback for term form.

1 string reference to 'shs_form_taxonomy_form_term_submit'
shs_form_taxonomy_form_term_alter in ./shs.module
Implements hook_form_FORM_ID_alter().

File

./shs.module, line 1118
Provides an additional widget for term fields to create hierarchical selects.

Code

function shs_form_taxonomy_form_term_submit(&$form, &$form_state) {

  // Clear shs cache for current vocabulary.
  cache_clear_all("shs:{$form_state['term']->vid}", 'cache');
}