src/pyams_content/component/links/interfaces/__init__.py
changeset 88 758d0cb86132
parent 53 4acef7070de7
child 140 67bad9f880ee
equal deleted inserted replaced
87:f382a0fb2375 88:758d0cb86132
    20 from zope.annotation.interfaces import IAttributeAnnotatable
    20 from zope.annotation.interfaces import IAttributeAnnotatable
    21 from zope.container.interfaces import IContainer
    21 from zope.container.interfaces import IContainer
    22 
    22 
    23 # import packages
    23 # import packages
    24 from pyams_i18n.schema import I18nTextLineField, I18nTextField
    24 from pyams_i18n.schema import I18nTextLineField, I18nTextField
    25 from pyams_sequence.schema import InternalReference
    25 from pyams_sequence.schema import InternalReference, InternalReferencesList
    26 from pyams_utils.schema import PersistentList
    26 from pyams_utils.schema import PersistentList
    27 from zope.container.constraints import containers, contains
    27 from zope.container.constraints import containers, contains
    28 from zope.interface import Interface
    28 from zope.interface import Interface
    29 from zope.schema import Choice, TextLine
    29 from zope.schema import Choice, TextLine
    30 
    30 
   112                            required=False)
   112                            required=False)
   113 
   113 
   114 
   114 
   115 class ILinkLinksContainerTarget(Interface):
   115 class ILinkLinksContainerTarget(Interface):
   116     """Links links container marker interface"""
   116     """Links links container marker interface"""
       
   117 
       
   118 
       
   119 class IInternalReferencesList(Interface):
       
   120     """Internal references list"""
       
   121 
       
   122     references = InternalReferencesList(title=_("Internal references"),
       
   123                                         description=_("List of internal references"),
       
   124                                         required=False)