[development] development Digest, Vol 97, Issue 70
Randy Fay
randy at randyfay.com
Fri Jan 28 21:02:14 UTC 2011
The Examples project only covers core APIs, otherwise things would just get
out of control. If I'm not mistaken the discussion here is about a CCK
feature.
And API module can only pick up hooks when they're documented in api.php
files; CCK didn't quite get that done. Field module in D7 is better,
although there's still lots of WTF in there.
Thanks,
-Randy
On Fri, Jan 28, 2011 at 1:40 PM, Karl Giesing <khzmusik at hotmail.com> wrote:
> > You might like both
> >
> > http://drupalcontrib.org/api/drupal
> >
> > and
> >
> > http://api.lullabot.com
>
> I didn't know about the Drupalcontrib API docs, but I did know about the
> Lullabot API site. I had checked the Lullabot site, and found nothing. I
> just now checked the Drupalcontrib site, and it's not there, either.
>
> The problem is, that the hooks are not defined by Drupal, and they are not
> themselves functions (so have no doxygen comments). So, if you search for
> "hook_content_extra_fields," you will find nothing at either site.
>
> This is not a knock at either site (both of which are excellent), it's
> something that really should have been a tutorial from the CCK authors
> themselves. I'm surprised it's not in the handbook.
>
> I'm also really surprised it's not in the node_example module. It really
> should be. Maybe I'll raise this as an issue in the queue?
>
> -Karl.
>
--
Randy Fay
Drupal Module and Site Development
randy at randyfay.com
+1 970.462.7450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110128/fe3431c0/attachment.html
More information about the development
mailing list