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

CommentFileSizeAuthor
extend_fasttoggle_hook.patch1.71 KBgreggles

Comments

kkaefer’s picture

Status: Needs review » Fixed

Makes sense. Comitted to -dev. Thanks!

Status: Fixed » Closed (fixed)

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

  • Commit 9ad0539 on 6.x-1.x, master by kkaefer:
    #368272 by greggles: allow other modules to take action when a...