plone.app.discussion/plone/app/discussion/subscribers.zcml
Hanno Schlichting 1b78a1839b Factored out subscriber declarations into its own ZCML file.
svn path=/plone.app.discussion/trunk/; revision=33486
2010-01-27 12:28:47 +00:00

38 lines
1.1 KiB
XML

<configure
xmlns="http://namespaces.zope.org/zope"
i18n_domain="plone.app.discussion">
<!-- Event subscribers -->
<subscriber
for="plone.app.discussion.interfaces.IComment
zope.lifecycleevent.interfaces.IObjectAddedEvent"
handler=".comment.notify_workflow"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
zope.lifecycleevent.interfaces.IObjectAddedEvent"
handler=".comment.notify_content_object"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
handler=".comment.notify_content_object"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
zope.lifecycleevent.interfaces.IObjectAddedEvent"
handler=".tool.index_object"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
handler=".tool.unindex_object"
/>
</configure>