type
CollectionAdmin
Serializable collection presentation metadata.
Properties
| Property | Type | Description |
|---|---|---|
Hidden | bool | Hidden leaves the collection out of the admin navigation, dashboard and search, and its admin routes show not-found. It is presentation, not security: the REST, GraphQL and Local APIs, access rules and cascades are unchanged, and relationships to it still render. Changing it needs no migration. |
UseAsTitle | string | Field path used as the document’s author-facing title. |
DefaultColumns | []string | Initial field paths shown in the collection list. |
Group | string | Author-facing navigation group. |
GroupTranslations | map[string]string | Translated navigation groups. |
Description | string | Collection description shown to authors. |
DescriptionTranslations | map[string]string | Translated collection descriptions. |
FolderField | string | Field path used for folder organization. |
ParentField | string | Field path used for hierarchical parent relationships. |
LivePreview | LivePreviewConfig | Configures live-preview URL and viewports. |
Full signature
type CollectionAdmin struct {
// Hidden leaves the collection out of the admin navigation, dashboard and
// search, and its admin routes show not-found. It is presentation, not
// security: the REST, GraphQL and Local APIs, access rules and cascades
// are unchanged, and relationships to it still render. Changing it needs
// no migration.
Hidden bool
UseAsTitle string
DefaultColumns []string
Group string
GroupTranslations map[string]string
Description string
DescriptionTranslations map[string]string
FolderField string
ParentField string
LivePreview LivePreviewConfig
}