public function YamlFormElementBase::getTranslatableProperties in YAML Form 8
Get translatable properties.
Return value
array An associative array containing translatable element properties.
Overrides YamlFormElementInterface::getTranslatableProperties
7 calls to YamlFormElementBase::getTranslatableProperties()
- OptionsBase::getTranslatableProperties in src/
Plugin/ YamlFormElement/ OptionsBase.php - Get translatable properties.
- ProcessedText::getTranslatableProperties in src/
Plugin/ YamlFormElement/ ProcessedText.php - Get translatable properties.
- Table::getTranslatableProperties in src/
Plugin/ YamlFormElement/ Table.php - Get translatable properties.
- Textarea::getTranslatableProperties in src/
Plugin/ YamlFormElement/ Textarea.php - Get translatable properties.
- YamlFormLikert::getTranslatableProperties in src/
Plugin/ YamlFormElement/ YamlFormLikert.php - Get translatable properties.
7 methods override YamlFormElementBase::getTranslatableProperties()
- OptionsBase::getTranslatableProperties in src/
Plugin/ YamlFormElement/ OptionsBase.php - Get translatable properties.
- ProcessedText::getTranslatableProperties in src/
Plugin/ YamlFormElement/ ProcessedText.php - Get translatable properties.
- Table::getTranslatableProperties in src/
Plugin/ YamlFormElement/ Table.php - Get translatable properties.
- Textarea::getTranslatableProperties in src/
Plugin/ YamlFormElement/ Textarea.php - Get translatable properties.
- YamlFormLikert::getTranslatableProperties in src/
Plugin/ YamlFormElement/ YamlFormLikert.php - Get translatable properties.
File
- src/
YamlFormElementBase.php, line 198
Class
- YamlFormElementBase
- Provides a base class for a form element.
Namespace
Drupal\yamlformCode
public function getTranslatableProperties() {
return [
'title',
'description',
'field_prefix',
'field_suffix',
'required_error',
'admin_title',
'placeholder',
'markup',
'test',
];
}