Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This module provides simple developer functionality - integration between UUID and various reference fields like node_reference, user_reference, entity_reference.

Module implements two hooks hook_entity_load() and hook_entity_presave().

On load hook it loads UUID for every reference field so its available in field data array, i.e.:

field_node_reference => array(
  'und' => array(
    0 => array(
      'nid' => 10,
      'uuid' => {uuid-string}
    ),
  ),
)

On hook presave it looks for a fields that are containing uuid in reference field and no local system value. If that kind of field is found local value is loaded to proper key so entity is saved with proper local reference.

Project information

  • Created by mhrabovcin on , updated