You are here

protected function WebformAttachmentUrl::defineTranslatableProperties in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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\WebformElement

Code

protected function defineTranslatableProperties() {
  return array_merge(parent::defineTranslatableProperties(), [
    'url',
  ]);
}