Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make zope.app.layers and zope.app.skins a proper module (even though
they're going to go away). Why they had to be created from Python is beyond me, or why they had to be created in the first place. * Introduce a hook to zope.app.layers and zope.app.skins that lets skins and layers register themselves there. We need this for BBB compat when we're using <interface /> now instead of <browser:skin />. Accessing the skins and layers through those modules will trigger a deprecation warning. * Add a BBB awareness parameter to the browser:layer directive that let's us continue to use it until its removed without issuing a deprecation warning. We need to continue to use it for BBB reasons (because some code might be looking up layers by getting the ILayer utilities, for example).
- Loading branch information