You are here

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

Class

OptionsBase
Provides a base 'options' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

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