You are here

protected function TextBase::defineTranslatableProperties in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElement/TextBase.php \Drupal\webform\Plugin\WebformElement\TextBase::defineTranslatableProperties()

Define an element's translatable properties.

Return value

array An array containing an element's translatable properties.

Overrides WebformElementBase::defineTranslatableProperties

1 call to TextBase::defineTranslatableProperties()
Telephone::defineTranslatableProperties in src/Plugin/WebformElement/Telephone.php
Define an element's translatable properties.
1 method overrides TextBase::defineTranslatableProperties()
Telephone::defineTranslatableProperties in src/Plugin/WebformElement/Telephone.php
Define an element's translatable properties.

File

src/Plugin/WebformElement/TextBase.php, line 39

Class

TextBase
Provides a base 'text' (field) class.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function defineTranslatableProperties() {
  return array_merge(parent::defineTranslatableProperties(), [
    'counter_minimum_message',
    'counter_maximum_message',
    'pattern_error',
  ]);
}