Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

UUID support has been added to entities. By specifying an uuid entity key in entity annotation, the default entity controller generates a new UUID automatically. This allows to uniquely identify an entity across multiple sites.

An entity can be loaded by the UUID with the function entity_load_by_uuid(). The EntityInterface::uuid() method can be used to get the UUID of an entity.

Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done

Comments

naught101’s picture

First link should presumably point to the D8 version of hook_entity_info, but there is no real info there on how this should be used.

drunken monkey’s picture

hook_entity_info() doesn't really seem to be used anymore, or at least not as the main method of entity type definition. Instead, this change record should probably be referenced, or some of its content inserted here. It already contains the uuid field.