protected function WebformFlexbox::defineDefaultProperties in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformFlexbox.php \Drupal\webform\Plugin\WebformElement\WebformFlexbox::defineDefaultProperties()
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides Container::defineDefaultProperties
File
- src/
Plugin/ WebformElement/ WebformFlexbox.php, line 25
Class
- WebformFlexbox
- Provides a 'flexbox' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
return [
// Flexbox.
'align_items' => 'flex-start',
] + parent::defineDefaultProperties();
}