You are here

protected function WebformAttachmentBase::defineTranslatableProperties in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_attachment/src/Plugin/WebformElement/WebformAttachmentBase.php \Drupal\webform_attachment\Plugin\WebformElement\WebformAttachmentBase::defineTranslatableProperties()

Define an element's translatable properties.

Return value

array An array containing an element's translatable properties.

Overrides WebformElementBase::defineTranslatableProperties

1 call to WebformAttachmentBase::defineTranslatableProperties()
WebformAttachmentUrl::defineTranslatableProperties in modules/webform_attachment/src/Plugin/WebformElement/WebformAttachmentUrl.php
Define an element's translatable properties.
1 method overrides WebformAttachmentBase::defineTranslatableProperties()
WebformAttachmentUrl::defineTranslatableProperties in modules/webform_attachment/src/Plugin/WebformElement/WebformAttachmentUrl.php
Define an element's translatable properties.

File

modules/webform_attachment/src/Plugin/WebformElement/WebformAttachmentBase.php, line 76

Class

WebformAttachmentBase
Provides a base class for 'webform_attachment' elements.

Namespace

Drupal\webform_attachment\Plugin\WebformElement

Code

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