CheckBoxFieldDefinition renders a single checkbox. It is a simpler alternative to CheckBoxGroupFieldDefinition.
This checkbox field definition is part of the Magnolia 6 UI framework. The fully qualified class name is
If you work with the Magnolia 5 UI framework, see Checkbox field for Magnolia 5 UI instead.
Example checkbox field definition
Checkbox field properties
Label displayed to the right of the checkbox.
The property is optional in the sense that if you do not want to have the label rendered at all, you have to set an empty string as its value (either in the YAML configuration or in a message bundle).