type

TabDefinition

type TabDefinition struct { // Name is the optional document property contributed by a data-bearing tab. Name string // Label is the author-facing tab trigger. Label string // LabelTranslations overrides Label for configured admin interface languages. LabelTranslations map[string]string // Fields defines the values shown inside the tab. Fields []Definition }

One named data-bearing or unnamed presentation-only tab.

Source field/field.go:86

Namestring
Name is the optional document property contributed by a data-bearing tab.
Labelstring
Label is the author-facing tab trigger.
LabelTranslationsmap[string]string
LabelTranslations overrides Label for configured admin interface languages.
Fields[]Definition
Fields defines the values shown inside the tab.

Methods