protected function WebformScale::defineTranslatableProperties in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformScale.php \Drupal\webform\Plugin\WebformElement\WebformScale::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/ WebformScale.php, line 50
Class
- WebformScale
- Provides a 'scale' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineTranslatableProperties() {
return array_merge(parent::defineTranslatableProperties(), [
'min_text',
'max_text',
]);
}