You are here

public function ProcessedText::getTranslatableProperties in YAML Form 8

Get translatable properties.

Return value

array An associative array containing translatable element properties.

Overrides YamlFormElementBase::getTranslatableProperties

File

src/Plugin/YamlFormElement/ProcessedText.php, line 34

Class

ProcessedText
Provides a 'processed_text' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getTranslatableProperties() {
  return array_merge(parent::getTranslatableProperties(), [
    'text',
  ]);
}