protected function WebformTermCheckboxes::defineDefaultProperties in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElement/WebformTermCheckboxes.php \Drupal\webform\Plugin\WebformElement\WebformTermCheckboxes::defineDefaultProperties()
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides WebformEntityOptionsTrait::defineDefaultProperties
File
- src/
Plugin/ WebformElement/ WebformTermCheckboxes.php, line 28
Class
- WebformTermCheckboxes
- Provides a 'webform_term_checkboxes' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
$properties = [
'vocabulary' => '',
'breadcrumb' => FALSE,
'breadcrumb_delimiter' => ' › ',
'tree_delimiter' => ' ',
'scroll' => TRUE,
'depth' => NULL,
] + parent::defineDefaultProperties();
unset($properties['options'], $properties['options_randomize'], $properties['options_display']);
return $properties;
}