protected function WebformCheckboxesOther::defineDefaultProperties in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformCheckboxesOther.php \Drupal\webform\Plugin\WebformElement\WebformCheckboxesOther::defineDefaultProperties()
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides Checkboxes::defineDefaultProperties
File
- src/
Plugin/ WebformElement/ WebformCheckboxesOther.php, line 24
Class
- WebformCheckboxesOther
- Provides a 'checkboxes_other' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
$properties = parent::defineDefaultProperties();
// Remove 'All of the above' options.
unset($properties['options_all'], $properties['options_all_value'], $properties['options_all_text']);
return $properties;
}