public function WebformNodeElement::getDefaultProperties in Webform Node Element 8
Get default properties.
Return value
array An associative array containing default element properties.
Overrides WebformElementBase::getDefaultProperties
File
- src/
Plugin/ WebformElement/ WebformNodeElement.php, line 24
Class
- WebformNodeElement
- Provides a 'webform_node_element' element.
Namespace
Drupal\webform_node_element\Plugin\WebformElementCode
public function getDefaultProperties() {
return parent::getDefaultProperties() + [
'webform_node_element_nid' => '',
];
}