## Controller Python Script "edit_marker" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind state=state ##bind subpath=traverse_subpath ##parameters=add=(), remove=() ##title=Change the marker interfaces for a piece of content from Products.CMFCore.utils import getToolByName iface_tool = getToolByName(context, 'portal_interface') iface_tool.update(context, add, remove) return state.set(context=context, portal_status_message='Marker interfaces changed.')