Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello.
It is usefull to have hooks that will inform other modules about fbconnect events.
Currenty we have rules invoke. I have added common drupal hooks for the same event.
Thanks.
Comment | File | Size | Author |
---|---|---|---|
fbconnect_hooks.patch | 969 bytes | igor.ro | |
Comments
Comment #1
Fabianx CreditAttribution: Fabianx commentedWorks great! I need the same!
Comment #2
YK85 CreditAttribution: YK85 commentedDoes this help with further Rules integration?
Comment #3
igor.ro CreditAttribution: igor.ro commentedI suppose yes.
Comment #4
vectoroc CreditAttribution: vectoroc commentedIt does not. You could do the same things through Rules module integration.
I don't like to apply this patch
Comment #5
igor.ro CreditAttribution: igor.ro commented>>>You could do the same things through Rules module integration.
You are right, but it will required to create rules handler and implement it's api.
Hooks are native drupal way. I suppose developers should be free to select way they'll implement event.
What do you think about?
Comment #6
vectoroc CreditAttribution: vectoroc commentedI don't like to implement botch ways.
But I'm agreed that module_invoke_all is very easy and useful
Comment #7
igor.ro CreditAttribution: igor.ro commentedWe add user points if he attaches social networks to his account on our project.
We can not do this with out any event that social network attached.
Sure that you as maintainer free to manage if this feature is useful for community and makes you module grow.
Comment #8
apadernoI am closing this issue, which is for a not-supported Drupal version.