(cls, form, config)
return form
Loads a Hook configuration into an existing Form object, returning it.
Loads a Hook configuration into an existing Form object, returning it.
Loads a Hook configuration into an existing Form object returning it .
def load_form(cls, form, config):
        """
        Loads a Hook configuration into an existing Form object, returning it.
        """
        if config is None:
            return

        for f in form:
            if f.id in config:
                f.data = config[f.id]

        return form
def load_form ( cls , form , config ) : if config is None : return for f in form : if f . id in config : f . data = config [ f . id ] return form