Timeline for Create a node programmatically on installing a module
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 20, 2017 at 18:41 | comment | added | bryanbraun |
Note: in Drupal 8 these methods have been consolidated. There is no hook_enable or hook_disable anymore, just hook_install and hook_uninstall . See details here: drupal.org/node/2193013
|
|
Jun 11, 2012 at 7:41 | comment | added | Pascal | Sorry for my misunderstanding of the API Clive. And thank you for your help, it works beautifully. I will put in hook_disable() some lines to delete the content created in the _enable() function now. Do you have any recommendation or good practice to keep track (in hook_enable()) of the node ID to be deleted (in hook_disable())? | |
Jun 11, 2012 at 7:40 | vote | accept | Pascal | ||
Jun 11, 2012 at 7:40 | vote | accept | Pascal | ||
Jun 11, 2012 at 7:40 | |||||
Jun 8, 2012 at 17:04 | history | answered | Clive♦ | CC BY-SA 3.0 |