Overwriting options from other plugins

Is it possible to overwrite options from other plugins in my own plugin?
I’m building a plugin to pre-config kirby and thought it would be nice if I could configure other plugins in my pre-config plugin, too.

@bvdputte, you recently had a similar question. Have you found a solution or at least a workaround?

I have a feeling this is not easily possible, one problem is certainly the loading order of plugins, maybe they also just exist in their namespace, but here I’m not sure at all.

:robot:

Yes, you’re right @texnixe. I didn’t find a way to work around it…

I was thinking of adding a hook for the “all plugins are loaded”-event. There’s even a ticket for it: https://github.com/getkirby/ideas/issues/23, so please upvote it if you also want it :wink:. Then we might get it with higher priority on the roadmap, instead of interesting :stuck_out_tongue_winking_eye:.

Thanks, @texnixe and @bvdputte. Just upvoted it :wink:

1 Like