protected function WebformAttachmentUrl::defineTranslatableProperties in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_attachment/src/Plugin/WebformElement/WebformAttachmentUrl.php \Drupal\webform_attachment\Plugin\WebformElement\WebformAttachmentUrl::defineTranslatableProperties()
Define an element's translatable properties.
Return value
array An array containing an element's translatable properties.
Overrides WebformAttachmentBase::defineTranslatableProperties
File
- modules/
webform_attachment/ src/ Plugin/ WebformElement/ WebformAttachmentUrl.php, line 33
Class
- WebformAttachmentUrl
- Provides a 'webform_attachment_url' element.
Namespace
Drupal\webform_attachment\Plugin\WebformElementCode
protected function defineTranslatableProperties() {
return array_merge(parent::defineTranslatableProperties(), [
'url',
]);
}