Closed (fixed)
Project:
Module Builder
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2011 at 21:40 UTC
Updated:
9 Dec 2011 at 11:30 UTC
I'm opening this one up for discussion as I am not sure whether or not this is a good idea.
For some hooks, the example code in the api.php file is a great starting point.
For others, it's just a demonstration of what can be done in that hook and in most cases if you got that chucked into your module code, you'd always be deleting it immediately (eg, http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...).
Comments
Comment #1
joachim commentedI went ahead and implemented this, as too many hooks on D7 now have totally empty bodies!