protected function Telephone::defineTranslatableProperties in Webform 8.5
Same name and namespace in other branches
- 6.x 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 49
Class
- Telephone
- Provides a 'tel' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineTranslatableProperties() {
return array_merge(parent::defineTranslatableProperties(), [
'international_initial_country',
]);
}