0
是否可以挂钩实体引用的更改? 假设我有a <- b
和b <- x -> a
。 当a <- b
修改d <- b
我想也b <- x -> a
更改为b <- x -> d
Drupal 7:实体引用挂钩
是否可以挂钩实体引用的更改? 假设我有a <- b
和b <- x -> a
。 当a <- b
修改d <- b
我想也b <- x -> a
更改为b <- x -> d
Drupal 7:实体引用挂钩
哪里场在哪里?我的第一个倾向将是使用hook_entity_update。但是您可以使用以下所有实体:hook_field_update
http://api.drupal.org/api/drupal/modules%21field%21field.api.php/function/hook_field_update/7