You are here

protected function ProcessedText::defineTranslatableProperties in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 68

Class

ProcessedText
Provides a 'processed_text' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function defineTranslatableProperties() {
  return array_merge(parent::defineTranslatableProperties(), [
    'text',
  ]);
}