You are here

public function YamlFormMessage::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/YamlFormMessage.php, line 40

Class

YamlFormMessage
Provides a 'yamlform_message' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

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