You are here

function taxonomy_field_uuid_presave in Universally Unique IDentifier 7

Implements hook_field_uuid_presave().

Related topics

File

./uuid.core.inc, line 328
Implementation of UUID hooks for all core modules.

Code

function taxonomy_field_uuid_presave($entity_type, $entity, $field, $instance, $langcode, &$items) {
  entity_property_uuid_to_id($items, 'taxonomy_term', 'tid');
}