[Koha-bugs] [Bug 28026] Add a 'call_recursive' method to Koha::Plugins

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 28 16:10:54 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28026

--- Comment #19 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Also, In bug 27066 comment 10 I talked about the concept of 'before', 'after'
and 'around' as a hook naming convention.. I feel the hook names should be tied
to their actions and effects..

So, in many ways I think 'before' should be passed the data prior to an action
taking place and it's use should not affect said days, after should be passed
the data after the action has taken place and again not affect that data..
around could be used for the case where we want to intercept and alter that
data in the plugin... thoughts on such a naming convention would be great.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list