You are here

protected function WebformCodeMirror::defineTranslatableProperties in Webform 6.x

Define an element's translatable properties.

Return value

array An array containing an element's translatable properties.

Overrides WebformElementBase::defineTranslatableProperties

File

src/Plugin/WebformElement/WebformCodeMirror.php, line 44

Class

WebformCodeMirror
Provides a 'webform_codemirror' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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