Provider

class xdm.plugins.bases.Provider(instance='Default')

These plugins get meta information for the MediaTypes and perform searches.

Plugins of this class create elemnets based on mediaType structures.

creating more providers is definety more complicated then other things since creating element structures based on the structure defined by the mediaType can be complicated

getConfigHtml()

The return value of this function is simply injected in the config panel

default is a html comment: <!– nothing here –> you can use this to add dynamic javascript and/or add additional html

Note

The container this is added in is hidden with inline css. to make use of the html use javascript

searchForElement(term='')

Create a MediaType structure of the type of element.mediaType