protected function Telephone::defineTranslatableProperties in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElement/Telephone.php \Drupal\webform\Plugin\WebformElement\Telephone::defineTranslatableProperties()
Define an element's translatable properties.
Return value
array An array containing an element's translatable properties.
Overrides TextBase::defineTranslatableProperties
File
- src/
Plugin/ WebformElement/ Telephone.php, line 76
Class
- Telephone
- Provides a 'tel' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineTranslatableProperties() {
return array_merge(parent::defineTranslatableProperties(), [
'international_initial_country',
]);
}