protected function WebformToggleTrait::translatableProperties in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_toggles/src/Plugin/WebformElement/WebformToggleTrait.php \Drupal\webform_toggles\Plugin\WebformElement\WebformToggleTrait::translatableProperties()
File
- modules/
webform_toggles/ src/ Plugin/ WebformElement/ WebformToggleTrait.php, line 26
Class
- WebformToggleTrait
- Provides a 'toggle' trait.
Namespace
Drupal\webform_toggles\Plugin\WebformElementCode
protected function translatableProperties() {
return array_merge(parent::defineTranslatableProperties(), [
'on_text',
'off_text',
]);
}