function

New

Create one compiled Form Builder plugin from detached configuration.

Example

go
formbuilder.New(formbuilder.Config{
  UploadCollections: []schema.CollectionSlug{
    "media",
  },
})

Arguments

ArgumentTypeDescription
configConfigThe config value.

Returns

The declared result.

*Plugin

Full signature

Related types

  • Config

    Collection names, field selection, overrides, and executable delivery callbacks.

  • Plugin

    One configured backend plugin implementing descriptor and config transformation contracts.