An introduction to why/how Drupal is taking over the world and how you can jump on the train with the community and business.
Special thanks to Robert Douglass for his source data for the second part of the presentation.
10. whose name is specified here...
this content.
Tell a module... that we delete...
module_invoke($node->type, "delete", $node)
array_merge($perms, module_invoke($name, "perm"));
Ask a module... to give a list of
permissions.
whose name is specified here...
11. reacts to deleting...
My module... this content.
function mymodule_delete($node) {}
function mymodule_perm() { return array(...); }
My module... as listed.
defines permissions...
17. function mymodule_node_delete($node) {
/*....*/ Remove it from the search index.
}
Update author’s quota.
Send a mail.
Unpublish child pages.
Save data in “trashbin”.