Beispiel #1
0
 def _postprocess(self, context, content):
     for inject_func in get_provide_objects("xtheme_resource_injection"):
         if callable(inject_func):
             inject_func(context, content)
     add_edit_resources(context)
     content = inject_resources(context, content)
     return content
Beispiel #2
0
 def _postprocess(self, context, content):
     for inject_func in get_provide_objects("xtheme_resource_injection"):
         if callable(inject_func):
             inject_func(context, content)
     add_edit_resources(context)
     content = inject_resources(context, content)
     return content
Beispiel #3
0
 def _postprocess(self, context, content):
     # TODO: Add a hook here for addons to inject resources without plugins
     add_edit_resources(context)
     content = inject_resources(context, content)
     return content
Beispiel #4
0
 def _postprocess(self, context, content):
     # TODO: Add a hook here for addons to inject resources without plugins
     add_edit_resources(context)
     content = inject_resources(context, content)
     return content