Jump to content

Add child modules to a parent


pwFoo
 Share

Recommended Posts

I try to build module plugins / children.

Child modules should be load during parent / main module init. Load the modules is easy, but how could a attach a child module to the parent?

1) How to modify the parent module?

2) Because only installed plugins / children loaded during parent init, attach / detach during child un-/install should be fine.

Search for a simple in module solution. No autoload needed.

Parent module should load a saved list of children to work with.

Link to comment
Share on other sites

Attach / detach plugins to a parent module works fine, but parent module uninstall will blocked by the plugins (because "requires parent module").

Is there a way to uninstall all plugins during parent uninstall instead of block the uninstall process?

  • Attached plugin modulesFrontendUserRegisterPluginHoneypot
  •  Uninstall (Disabled)

    Can't uninstall module - Module is required by other modules that must be removed first

     Uninstall (Disabled)

    You must first uninstall other modules - FrontendUserRegisterPluginHoneypot

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...