On 12/21/2015 04:44 PM, Владимир Горпенко wrote:
Hello!
Is it correct to determine hooks in one plugin and use them from another plugin?
I'm not sure what do you mean by "determine hooks", but we already have plugins with their hooks used by other plugins.
I am concerned that the plugin object is constructed and desructed many times. What happens with defined in this object hooks when the object is destructed?
Engine makes sure the plugin is constructed only once. Please, describe your case in more detail.