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

Add a plugin feature #12

Open
davorg opened this issue Oct 17, 2024 · 0 comments
Open

Add a plugin feature #12

davorg opened this issue Oct 17, 2024 · 0 comments

Comments

@davorg
Copy link
Collaborator

davorg commented Oct 17, 2024

I think it works like this:

  • Plugins are called App::Aphra::Plugin::*
  • Looks for a plugins key in site.yml this is a list
  • For each value in that list, load the module App::Aphra::Plugin::<value>
  • Call the mandatory register_plugin() subroutine in the plugin module, passing it the App::Aphra object
  • We also need a role that forces plugins to have a register_plugin() method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant