Added marker interface to content link
authorThierry Florac <thierry.florac@onf.fr>
Wed, 27 Jun 2018 12:26:04 +0200
changeset 756 328866bc10ba
parent 755 8446facedb4a
child 757 72e2df59af62
Added marker interface to content link
src/pyams_content/shared/site/interfaces/__init__.py
--- a/src/pyams_content/shared/site/interfaces/__init__.py	Tue Jun 26 15:10:14 2018 +0200
+++ b/src/pyams_content/shared/site/interfaces/__init__.py	Wed Jun 27 12:26:04 2018 +0200
@@ -19,6 +19,7 @@
 from pyams_content.interfaces import IBaseContent
 from pyams_sequence.interfaces import ISequentialIdTarget, IInternalReference
 from pyams_workflow.interfaces import IWorkflowPublicationSupport
+from zope.annotation.interfaces import IAttributeAnnotatable
 from zope.container.interfaces import IContainer, IContained
 
 # import packages
@@ -107,7 +108,7 @@
     """Workflow managed topic interface"""
 
 
-class IContentLink(ISiteElement, IInternalReference):
+class IContentLink(ISiteElement, IInternalReference, IAttributeAnnotatable):
     """Rented content interface"""
 
     alt_title = I18nTextLineField(title=_("Alternate title"),