Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow plugins to replace dependencies during boot #11221

Closed
mrclay opened this issue Sep 5, 2017 · 1 comment
Closed

Allow plugins to replace dependencies during boot #11221

mrclay opened this issue Sep 5, 2017 · 1 comment

Comments

@mrclay
Copy link
Member

mrclay commented Sep 5, 2017

@hypeJunction: we should either expose a pre-boot event to replace services (maybe look for boot.php in plugin root) and do other naughty things, or decouple hooks service from the DI container (see session PR) and trigger a hook before default core factory is called allowing plugins to build their own services.

A general problem is we require a partial boot to event find out which plugins are active and can be successfully started.

@jdalsem
Copy link
Member

jdalsem commented Feb 11, 2020

Currently Elgg does a low pass on active plugins to load services from elgg-services.php in the plugin root. This works fine.

@jdalsem jdalsem closed this as completed Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants