Skip to main content
6 events
when toggle format what by license comment
Jan 15, 2017 at 15:28 comment added Clive Yeah it's just another naming convention, I probably should have linked you here as well: api.drupal.org/api/drupal/…
Jan 15, 2017 at 14:39 comment added Pantelis Natsiavas Thank you very much for your answer. I checked it and works as expected. I have a minor question though... I would expect the hook function's name to be foo_entity_presave and not foo_node_presave. Am I missing something here? While I cannot find the hook_node_presave in the drupal 8 API documentation, it seems that the function foo_node_presave is working. Do I miss something regarding the hook functions naming conventions?
Jan 15, 2017 at 14:35 vote accept Pantelis Natsiavas
Jan 14, 2017 at 21:04 history edited avpaderno CC BY-SA 3.0
changed the documentation link to the one for Drupal 8
Jan 14, 2017 at 19:04 history edited Clive CC BY-SA 3.0
added 110 characters in body
Jan 14, 2017 at 18:58 history answered Clive CC BY-SA 3.0