allow other modules to take action when a fasttoggle is toggled
greggles - February 3, 2009 - 00:47
| Project: | Fasttoggle |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I have a module which needs to send an e-mail when a comment is modified via fasttoggle. This could be possible in several ways, but I thought it would be helpful to do this in a way that allows for modules to take generalized actions when a fasttoggle is toggled.
The attached patch creates a new hook: hook_fasttoggle_toggle($type, $object, $option).
| Attachment | Size |
|---|---|
| extend_fasttoggle_hook.patch | 1.71 KB |

#1
Makes sense. Comitted to -dev. Thanks!
#2
Automatically closed -- issue fixed for 2 weeks with no activity.