function

PluginComponent

PluginComponent selects a component supplied by an installed plugin. pluginKey names the Go plugin; key names a component registered by its admin package.

Arguments

ArgumentTypeDescription
pluginKeystringThe pluginKey value.
keystringThe key value.
config[]store.ValueThe config value.

Returns

The declared result.

ComponentRef

Full signature

func PluginComponent( pluginKey, key string, config ...store.Value, ) ComponentRef

Source field/policy.go:217

Related types

  • Value

    An immutable scalar, object, list, or populated document value.

  • ComponentRef

    ComponentRef selects a custom admin component and its optional settings. It changes the UI without changing how the field's value is stored or typed.

Related guides