protected static property WebformOptionsCustom::$properties in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_options_custom/src/Element/WebformOptionsCustom.php \Drupal\webform_options_custom\Element\WebformOptionsCustom::properties
The properties of the element.
Type: array
File
- modules/
webform_options_custom/ src/ Element/ WebformOptionsCustom.php, line 33
Class
- WebformOptionsCustom
- Provides an element for a selecting custom options from HTML or SVG markup.
Namespace
Drupal\webform_options_custom\ElementCode
protected static $properties = [
'#title',
'#options',
'#default_value',
'#multiple',
'#attributes',
'#empty_option',
'#empty_value',
'#select2',
'#chosen',
// NOTE:
// Choices is not supported by custom options because of <option> being
// removed inside the <select>.
// @see https://github.com/jshjohnson/Choices/issues/601
'#placeholder',
'#help_display',
'#size',
'#required',
'#required_error',
];