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