def installNewModifiers(context): modifiers = getToolByName(context, 'portal_modifier', None) if modifiers is not None: install(modifiers) logger.info('Added new CMFEditions modifiers.')
def installNewModifiers(context): from Products.CMFEditions.StandardModifiers import install modifiers = getToolByName(context, 'portal_modifier', None) if modifiers is not None: install(modifiers) logger.info('Added new CMFEditions modifiers.')
def installNewModifiers(portal, out): modifiers = getToolByName(portal, 'portal_modifier', None) if modifiers is not None: install(modifiers) out.append('Added new CMFEditions modifiers')
def installNewModifiers(context): from Products.CMFEditions.StandardModifiers import install modifiers = getToolByName(context, 'portal_modifier', None) if modifiers is not None: install(modifiers) logger.info('Added new CMFEditions modifiers.')
def installNewModifiers(context): modifiers = getToolByName(context, 'portal_modifier', None) if modifiers is not None: install(modifiers) logger.info('Added new CMFEditions modifiers.')