Extending the plugin using hooks, in the same way we extend redmine's existing contents

Added by sundara balaji r 2 months ago

I have two plugins both are independent of eact other.

Now i want to integrate the content of one plugin inside another.

Plugin one needs to contain plugin two's contents.

I have an idea of creating a hook for the Plugin one, and inside the plugin two, calling the hook registered for the plugin one and rendering the contents inside that.

Is it possible to create a hook for a plugin?.Because the hooks are for extending the redmine's exisiting contents.

I'm not sure whether its allowed to create a hook for a plugin and using that hook to extend the plugin.