Let's say I have a Structure Content type called "Fruit", and it only has a title.
And I have another Structure Content type called "Color" which is a dropdown menu with a few colors in it.
And i have an "entity reference" for Color on Fruit. So when I go to add a new Fruit, I can input in the Fruit title field "Apple", and then choose from the Color dropdown menu "Red".
I have a hook for node_update()
which triggers when I change the Title of the Fruit. But when I change the Color, this trigger is not executed.
Which hook should I use if I want to track the Color changing on a Fruit?
This is for Drupal 7. Thanks so much in advance for your time and insight.