0

Is it possible to hook on changes of entity references? Let's say I have a <- b and b <- x -> a. when a <- b changes to d <- b I want also b <- x -> a to change to b <- x -> d

apaderno
  • 28,547
  • 16
  • 75
  • 90
machete
  • 1,127
  • 2
  • 13
  • 26

1 Answers1

0

Where is the field at? My first inclination would be to use hook_entity_update. But you could catch all entities using: hook_field_update

http://api.drupal.org/api/drupal/modules%21field%21field.api.php/function/hook_field_update/7

danielson317
  • 3,121
  • 3
  • 28
  • 43