protected function WebformElementBase::defineTranslatableProperties in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::defineTranslatableProperties()
Define an element's translatable properties.
Return value
array An array containing an element's translatable properties.
18 calls to WebformElementBase::defineTranslatableProperties()
- DateTime::defineTranslatableProperties in src/
Plugin/ WebformElement/ DateTime.php - Define an element's translatable properties.
- OptionsBase::defineTranslatableProperties in src/
Plugin/ WebformElement/ OptionsBase.php - Define an element's translatable properties.
- ProcessedText::defineTranslatableProperties in src/
Plugin/ WebformElement/ ProcessedText.php - Define an element's translatable properties.
- Table::defineTranslatableProperties in src/
Plugin/ WebformElement/ Table.php - Define an element's translatable properties.
- TextBase::defineTranslatableProperties in src/
Plugin/ WebformElement/ TextBase.php - Define an element's translatable properties.
17 methods override WebformElementBase::defineTranslatableProperties()
- DateTime::defineTranslatableProperties in src/
Plugin/ WebformElement/ DateTime.php - Define an element's translatable properties.
- OptionsBase::defineTranslatableProperties in src/
Plugin/ WebformElement/ OptionsBase.php - Define an element's translatable properties.
- ProcessedText::defineTranslatableProperties in src/
Plugin/ WebformElement/ ProcessedText.php - Define an element's translatable properties.
- Table::defineTranslatableProperties in src/
Plugin/ WebformElement/ Table.php - Define an element's translatable properties.
- TextBase::defineTranslatableProperties in src/
Plugin/ WebformElement/ TextBase.php - Define an element's translatable properties.
File
- src/
Plugin/ WebformElementBase.php, line 279
Class
- WebformElementBase
- Provides a base class for a webform element.
Namespace
Drupal\webform\PluginCode
protected function defineTranslatableProperties() {
return [
'title',
'label',
'help',
'help_title',
'more',
'more_title',
'description',
'field_prefix',
'field_suffix',
'required_error',
'unique_error',
'admin_title',
'admin_notes',
'placeholder',
'markup',
'test',
'header_label',
'add_more_button_label',
'add_more_input_label',
'no_items_message',
];
}