Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CMSContentListOption ¶
type CMSContentListOption = string
CMSContentListOption represents list option tokens understood by go-cms List. It is a string alias so options can be forwarded without importing go-cms internals.
const ContentListWithDerivedFields CMSContentListOption = "content:list:projection:derived_fields"
const ContentListWithLocaleVariants CMSContentListOption = "content:list:with_locale_variants"
const ContentListWithTranslations CMSContentListOption = "content:list:with_translations"
func WithContentTypeID ¶ added in v0.54.0
func WithContentTypeID(id string) CMSContentListOption
func WithDerivedFields ¶
func WithDerivedFields() CMSContentListOption
func WithFamilyID ¶ added in v0.105.0
func WithFamilyID(id string) CMSContentListOption
func WithFamilyIDs ¶ added in v0.113.10
func WithFamilyIDs(ids ...string) CMSContentListOption
func WithLocaleVariants ¶ added in v0.42.0
func WithLocaleVariants() CMSContentListOption
func WithTranslations ¶
func WithTranslations() CMSContentListOption
Click to show internal directories.
Click to hide internal directories.