You are here

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

Class

YamlFormLikert
Provides a 'likert' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

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