protected function WebformAttachmentBase::defineDefaultBaseProperties in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_attachment/src/Plugin/WebformElement/WebformAttachmentBase.php \Drupal\webform_attachment\Plugin\WebformElement\WebformAttachmentBase::defineDefaultBaseProperties()
Define default base properties used by all elements.
Return value
array An associative array containing base properties used by all elements.
Overrides WebformElementBase::defineDefaultBaseProperties
1 call to WebformAttachmentBase::defineDefaultBaseProperties()
- WebformAttachmentBase::defineDefaultProperties in modules/
webform_attachment/ src/ Plugin/ WebformElement/ WebformAttachmentBase.php - Define an element's default properties.
File
- modules/
webform_attachment/ src/ Plugin/ WebformElement/ WebformAttachmentBase.php, line 64
Class
- WebformAttachmentBase
- Provides a base class for 'webform_attachment' elements.
Namespace
Drupal\webform_attachment\Plugin\WebformElementCode
protected function defineDefaultBaseProperties() {
$properties = parent::defineDefaultBaseProperties();
unset($properties['prepopulate'], $properties['states_clear']);
return $properties;
}