We have a requirement for a dexterity content type to have exclude from navigation behaviour but for the exclude_from_nav
field's default value to be True
. In the behaviour plone.app.dexterity.behaviors.exclfromnav.IExcludeFromNavigation
it defaults to False
.
Obviously I could create my own behaviour that copies IExcludeFromNavigation
except for the default value but I was wondering if there was a way to do this based on reusing IExcludeFromNavigation
. We have other content types that use IExcludeFromNavigation
where we do want it to default to False
.
We're using Plone 4.1rc3 and Dexterity 1.0