def plugin_get(name):
    """
    Return plugin class.
    @param name: the cms label.
    """
    plugins = plugins_base_get()
    for plugin in plugins:
        if plugin.Meta.label == name:
            return plugin

    raise RuntimeError('CMS "%s" not known.' % name)
def plugin_get ( name ) : plugins = plugins_base_get ( ) for plugin in plugins : if plugin . Meta . label == name : return plugin raise RuntimeError ( 'CMS "%s" not known.' % name )
Return plugin class.
    @param name: the cms label.