Switch

Description

Allows the user to toggle between two opposite states, ‘On’ or ‘Off’.

Parameter

Field name

Allows you to configure the name and id of the input block of the input field.

Field label

Designates the title label of the input field. Can be a translation key.

Right

If checked, the values will be located to the right of the tick box.

Is linked to the module entity?

If checked, indicates that the field is a property of the module entity.

If necessary, specify the relationship path (e.g. Entity.MyRelationship)

Requires ‘is linked to the module entity?

Enables the field to be linked to an entity other than the module entity via a relationship.

Default value

Fill the field with the default value.

Layout