def document_override_storage_factory(context): """ Adapter which creates the persistent object storing document specific overrides. """ return base.getOverrideStorage(context, DocumentOverrideStorage)
def storage_factory(context): """ Adapter which creates the persistent object storing document specific overrides. """ return getOverrideStorage(context, TemplatedDocumentOverrideStorage)