src/pyams_content/component/gallery/__init__.py
changeset 501 3407e6940f6a
parent 426 ad309e5090bd
child 555 8e8a14452567
equal deleted inserted replaced
500:cd0c53346edc 501:3407e6940f6a
   175                 output.append(checker.get_check_output(request))
   175                 output.append(checker.get_check_output(request))
   176         return output
   176         return output
   177 
   177 
   178 
   178 
   179 @adapter_config(name='gallery', context=IGalleryTarget, provides=IContentChecker)
   179 @adapter_config(name='gallery', context=IGalleryTarget, provides=IContentChecker)
   180 def GalleryTargetContentChecker(context):
   180 def gallery_target_content_checker(context):
   181     gallery = IGallery(context)
   181     gallery = IGallery(context)
   182     return IContentChecker(gallery, None)
   182     return IContentChecker(gallery, None)
   183 
   183 
   184 
   184 
   185 @vocabulary_config(name=GALLERY_RENDERERS)
   185 @vocabulary_config(name=GALLERY_RENDERERS)