type

BlockLabels

BlockLabels overrides the singular and plural names derived from a block slug. Translations select admin interface language, independently of content locale.

Properties

PropertyTypeDescription
SingularstringThe Singular value.
PluralstringThe Plural value.
SingularTranslationsmap[string]stringThe SingularTranslations value.
PluralTranslationsmap[string]stringThe PluralTranslations value.

Full signature

type BlockLabels struct { Singular string Plural string SingularTranslations map[string]string PluralTranslations map[string]string }

Source field/field.go:69