Needs work
Project:
Subscriptions
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2013 at 07:43 UTC
Updated:
2 May 2013 at 12:16 UTC
It would be nice to have some documentation of any API features.
A subscriptions.api.php file would be good.
Currently there is a docs.php file in the dics directory, however it only contains hook_subscriptions_digest_alter(), which as far as I can tell doesn't exist.
Comments
Comment #1
salvisI agree.
Comment #2
bulat commentedAlso it will be good to see hook_subscriptions not only documented, but possibly broken down into several hooks.
I actually was about to start writing
subscriptions.api.incfile, but having onlyhook_subscriptionsthat does it all makes it a bit pointless.Comment #3
rooby commentedNot pointless at all. It's still a hook that needs doco.
More to the point though is that there are more hooks than just hook_subscriptions().
For example, there is also hook_subscriptions_data_alter(), and I'm pretty sure there are more off the top of my head.
Comment #4
bulat commentedhere is what I have gathered so far:
It would be great if somebody with knowledge of the module could fill in the gaps.