Diazo's "disabled-bundles"

Hi, I'm using Plone 5 and developing a theme with Diazo.
I have to disable another theme's bundle (because I extend its contents) when this is active.

The handiest way seems to be using diazo's bundle handling with enabled-bundles and disabled-bundles.
Saving and restarting my dev instance, I don't see any change and I have both loaded in DOM.

I looked for it in parts/omelette/ and I found its implementation in plone.app.theming.utils.py where disabled-bundles are passed to Theme constructor, but I don't know where ther are used.

How does it work?

Thanks,
Nicola

1 Like

Plone Foundation Code of Conduct