Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/o/collective.opengraph-1.0.1/src/collective/opengraph/events.py   collective.opengraph(Download)
from zope.interface import implements
from plone.app.controlpanel.interfaces import IConfigurationChangedEvent
from plone.app.controlpanel.events import ConfigurationChangedEvent
from utils import update_opengraphable_objects
 
def updateOpengraphableObjects(event):
    """update all opengraphable event on change settings
    """
    update_opengraphable_objects(event.context,
                        event.data.get('content_types', []))