protected function View::defineDefaultProperties in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/View.php \Drupal\webform\Plugin\WebformElement\View::defineDefaultProperties()
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides WebformMarkupBase::defineDefaultProperties
File
- src/
Plugin/ WebformElement/ View.php, line 26
Class
- View
- Provides a hidden 'view' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
return [
'name' => '',
'display_id' => '',
'arguments' => [],
'display_on' => WebformElementDisplayOnInterface::DISPLAY_ON_BOTH,
] + parent::defineDefaultProperties();
}