protected function WebformMapping::defineTranslatableProperties in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElement/WebformMapping.php \Drupal\webform\Plugin\WebformElement\WebformMapping::defineTranslatableProperties()
Define an element's translatable properties.
Return value
array An array containing an element's translatable properties.
Overrides WebformElementBase::defineTranslatableProperties
File
- src/
Plugin/ WebformElement/ WebformMapping.php, line 92
Class
- WebformMapping
- Provides a 'mapping' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineTranslatableProperties() {
return array_merge(parent::defineTranslatableProperties(), [
'source',
'destination',
]);
}