function taxonomy_revision_field_storage_pre_update in Taxonomy revision 7
Implements hook_field_storage_pre_update().
File
- ./
taxonomy_revision.module, line 348  - This is the main module file for the Taxonomy revision module.
 
Code
function taxonomy_revision_field_storage_pre_update($entity_type, $entity, &$skip_fields) {
  if ($entity_type == 'taxonomy_term') {
    // Update the term in the revision table. This needs to be done in
    // hook_field_storage_pre_update() for similar reasons as explained in
    // taxonomy_revision_field_storage_pre_insert() for a new term.
    _taxonomy_revision_taxonomy_term_save_revision($entity);
  }
}