Compound\BooleanType
¶
Identifier | compound_boolean |
Available options | |
Overridden options | |
Class | Netgen\BlockManager\Parameters\ParameterType\Compound\BooleanType |
Valid value | A boolean |
This parameter is a special one in a manner that it can hold other parameters.
The main purpose of the parameter is not functional, but presentational. That is, it allows building Symfony forms that have parameters which can be shown and hidden by checking and un-checking the checkbox input.
The value of the parameter is preserved with all other parameters and its sub-parameters in a flat list, without hierarchy.