Download & Extend

allow other modules to take action when a fasttoggle is toggled

Project:Fasttoggle
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Status:needs review» fixed

Makes sense. Comitted to -dev. Thanks!

#2

Status:fixed» closed (fixed)

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