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
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).

AttachmentSize
extend_fasttoggle_hook.patch1.71 KB

#1

kkaefer - February 3, 2009 - 20:17
Status:needs review» fixed

Makes sense. Comitted to -dev. Thanks!

#2

System Message - February 17, 2009 - 20:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.