src/pyams_content_es/component/theme.py
changeset 58 268e1d5eed87
parent 12 7e02b1d62ed6
child 63 95060873cdab
equal deleted inserted replaced
57:09b75abeacd2 58:268e1d5eed87
    25 from pyams_utils.adapter import adapter_config, ContextAdapter
    25 from pyams_utils.adapter import adapter_config, ContextAdapter
    26 from pyams_utils.list import unique
    26 from pyams_utils.list import unique
    27 
    27 
    28 
    28 
    29 @adapter_config(name='themes', context=IThemesTarget, provides=IDocumentIndexInfo)
    29 @adapter_config(name='themes', context=IThemesTarget, provides=IDocumentIndexInfo)
    30 def ThemesTargetIndexInfo(content):
    30 def themes_target_index_info(content):
    31     """Themes target index info"""
    31     """Themes target index info"""
    32     terms = []
    32     terms = []
    33     parents = []
    33     parents = []
    34     synonyms = []
    34     synonyms = []
    35     associations = []
    35     associations = []