This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
SesSelection¶
This Field Type stores a single selection choice.
The SesSelection Field Type is configured in a YAML file, unlike the Selection Field Type. This way, you can set up SiteAccess-specific selection Field Types.
The Field Type must be configured per attribute:
1 2 3 4 5 6 7 |
|
The translation_context
key, which identifies the context used for translating the labels, is optional.
To add a SesSelection Field to a Content Type, make sure the Field's identifier is the same as the configuration key (in the example above, news_type
).