plone.app.discussion/plone/app/discussion/subscribers.zcml

85 lines
2.6 KiB
Plaintext
Raw Permalink Normal View History

<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="plone">
<subscriber
for="plone.app.discussion.interfaces.IComment
2012-05-19 00:19:12 +02:00
zope.lifecycleevent.interfaces.IObjectAddedEvent"
handler=".comment.notify_workflow"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
zope.lifecycleevent.interfaces.IObjectModifiedEvent"
handler=".comment.notify_comment_modified"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
2012-05-19 00:19:12 +02:00
zope.lifecycleevent.interfaces.IObjectAddedEvent"
handler=".comment.notify_content_object"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
zope.lifecycleevent.interfaces.IObjectAddedEvent"
handler=".comment.notify_comment_added"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
2012-05-19 00:19:12 +02:00
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
handler=".comment.notify_content_object"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
handler=".comment.notify_comment_removed"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
2012-05-19 00:19:12 +02:00
zope.lifecycleevent.interfaces.IObjectAddedEvent"
2013-10-10 15:36:18 +02:00
handler=".subscribers.index_object"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
zope.lifecycleevent.interfaces.IObjectModifiedEvent"
handler=".subscribers.index_object"
/>
<subscriber
for="plone.app.discussion.interfaces.IComment
2012-05-19 00:19:12 +02:00
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
2013-10-10 15:36:18 +02:00
handler=".subscribers.unindex_object"
/>
<subscriber
for="Products.CMFCore.interfaces.IContentish
2012-05-19 00:19:12 +02:00
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
handler=".comment.notify_content_object_deleted"
/>
<subscriber
for="Products.CMFCore.interfaces.IContentish
2012-05-19 00:19:12 +02:00
zope.lifecycleevent.interfaces.IObjectMovedEvent"
handler=".comment.notify_content_object_moved"
/>
<!-- Control panel event subscribers -->
<subscriber
for="plone.base.interfaces.events.IConfigurationChangedEvent"
handler=".browser.controlpanel.notify_configuration_changed"
/>
<subscriber
for="plone.registry.interfaces.IRecordModifiedEvent"
handler=".browser.controlpanel.notify_configuration_changed"
/>
</configure>