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\YamlFormElementCode
public function getTranslatableProperties() {
return array_merge(parent::getTranslatableProperties(), [
'options',
'empty_option',
'option_label',
]);
}