Added news 'preview' and 'review' features support, and added form content checker
--- a/src/pyams_content/shared/news/__init__.py Fri Nov 10 12:01:18 2017 +0100
+++ b/src/pyams_content/shared/news/__init__.py Fri Nov 10 12:01:40 2017 +0100
@@ -16,10 +16,10 @@
# import standard library
# import interfaces
-from pyams_content.component.extfile.interfaces import IExtFileContainerTarget
-from pyams_content.component.links.interfaces import ILinkContainerTarget
from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget
from pyams_content.component.theme.interfaces import IThemesTarget
+from pyams_content.features.preview.interfaces import IPreviewTarget
+from pyams_content.features.review.interfaces import IReviewTarget
from pyams_content.shared.news.interfaces import INewsEvent, IWfNewsEvent, NEWS_CONTENT_TYPE, NEWS_CONTENT_NAME
# import packages
@@ -27,7 +27,8 @@
from zope.interface import implementer
-@implementer(IWfNewsEvent, IParagraphContainerTarget, IThemesTarget)
+@implementer(IWfNewsEvent, IParagraphContainerTarget, IThemesTarget,
+ IPreviewTarget, IReviewTarget)
class WfNewsEvent(WfSharedContent):
"""Base news event"""