Skip to main content
Version: 4.4 (Security)

ChromeStyle Form Field

The chromestyle form field type provides a dropdown list of style options with the current option selected.

  • type (mandatory) must be chromestyle.
  • name (mandatory) is the unique name of the field.
  • label (mandatory) (translatable) is the field html label.
  • description (optional) (translatable) is the field description.

Implemented by: libraries/src/Form/Field/ChromestyleField.php

Example XML parameter definition

<field
name="style"
type="chromestyle"
label="COM_MODULES_FIELD_MODULE_STYLE_LABEL"
description="COM_MODULES_FIELD_MODULE_STYLE_DESC"
/>