I want to mark several Dexterity content types (from different packages) with an interface provided by another package. On their own they do not need to implement the interface so it is best that the marking is done in a policy package. I expected to be able to do it via the following ZCML directives:
However, this will not take effect since the referred classes are schema interfaces. My solution then is to create a custom object class.
from plone.dexterity.content import Container
from plone.supermodel import model
Booking application object class
Is this the correct way or am I missing something about schema classes?
I know that I can also do this via a behavior and do the marking via generic setup type tool.