Timeline for Get the user id for triggers when deleting a user
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 23, 2023 at 11:30 | comment | added | avpaderno♦ | It is not a different hook. It is the documentation that instead of documenting a different hook for each entity, merged the different documentation pages into a single page. The shown code does not work, even in the case the module machine name is hook. ENTITY_TYPE must be replaced by the entity type, which means that in the case of User entities, the hook implementation is mymodule_user_delete(), where mymodule is the module machine name. | |
| Jan 7, 2018 at 18:17 | history | answered | Chris Happy | CC BY-SA 3.0 |