Added portal context marker interface
authorThierry Florac <thierry.florac@onf.fr>
Mon, 11 Jun 2018 15:17:33 +0200
changeset 615 75625e045aef
parent 614 0b5ec468c64b
child 616 ec087f6b3b9a
Added portal context marker interface
src/pyams_content/shared/news/manager.py
--- a/src/pyams_content/shared/news/manager.py	Mon Jun 11 15:00:12 2018 +0200
+++ b/src/pyams_content/shared/news/manager.py	Mon Jun 11 15:17:33 2018 +0200
@@ -21,6 +21,7 @@
 from pyams_content.reference.pictograms.interfaces import IPictogramManagerTarget
 from pyams_content.shared.common.interfaces import ISharedContentFactory
 from pyams_content.shared.news.interfaces import INewsManager, NEWS_CONTENT_TYPE, INewsManagerFactory
+from pyams_portal.interfaces import IPortalContext
 from zope.component.interfaces import ISite
 from zope.lifecycleevent.interfaces import IObjectAddedEvent
 
@@ -35,7 +36,8 @@
 from zope.schema.fieldproperty import FieldProperty
 
 
-@implementer(INewsManager, IParagraphFactorySettings, IThemesManagerTarget, IPictogramManagerTarget)
+@implementer(INewsManager, IParagraphFactorySettings, IThemesManagerTarget, IPictogramManagerTarget,
+             IPortalContext)
 class NewsManager(SharedTool):
     """News manager class"""