public function LayoutContainer::getDefaultProperties in Webform Layout Container 8
Get default properties.
Return value
array An associative array containing default element properties.
Overrides WebformElementBase::getDefaultProperties
File
- src/
Plugin/ WebformElement/ LayoutContainer.php, line 24
Class
- LayoutContainer
- Provides a 'layout container' type element to Webform.
Namespace
Drupal\webform_layout_container\Plugin\WebformElementCode
public function getDefaultProperties() {
return parent::getDefaultProperties() + [
'align' => 'equal',
];
}