I have a user_territories field which can have multiple values. I need to run a certain action when this field value is changed from the user entity, not when other fields are changed.
How can I write a condition for that?
I need to perform an action when taxonomy field is deleted and another action when a taxonomy field is added. How can I achieve this?
Is hook_user_presave()
the best hook to fulfill this?