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.

CommentFileSizeAuthor
fbconnect_hooks.patch969 bytesigor.ro
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Fabianx’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +patch

Works great! I need the same!

YK85’s picture

Does this help with further Rules integration?

igor.ro’s picture

I suppose yes.

vectoroc’s picture

It does not. You could do the same things through Rules module integration.
I don't like to apply this patch

igor.ro’s picture

>>>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?

vectoroc’s picture

I don't like to implement botch ways.
But I'm agreed that module_invoke_all is very easy and useful

igor.ro’s picture

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

apaderno’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Closed (outdated)
Issue tags: -patch

I am closing this issue, which is for a not-supported Drupal version.