Create new node call hook_entity_insert and hook_entity_update both.

Created on 20 July 2024, 4 months ago

I have implemented hook_entity_insert and hook_entity_update both hooks to track user activity. I am logging this activity into watchdog. During the insert operation, both hooks triggered and it showed twice entity in watchdog.

Note - For the entity update it is working fine.

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇮🇳India rajesh.vishwakarma

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024