[Cubicweb] Hook order

Sandrine Ribeau sandrine.ribeau at logilab.fr
Thu Feb 18 00:00:35 CET 2010


Hi there,

Is there a way to specify an order in which we would like to execute hooks? I 
am struggled with one issue where a PreCommitOperation is executed after a 
Hook handling 'after_add_entity' events.

I would like to be able to say execute my Operation first and then the hook. Is 
that possible? Or maybe should I move code from my hook to my operation?

Thanks,
Sandrine.	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20100217/00c40264/attachment-0164.html>


More information about the Cubicweb mailing list