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