You are here

protected function WebformImageSelect::defineTranslatableProperties in Webform 8.5

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

Define an element's translatable properties.

Return value

array An array containing an element's translatable properties.

Overrides OptionsBase::defineTranslatableProperties

File

modules/webform_image_select/src/Plugin/WebformElement/WebformImageSelect.php, line 52

Class

WebformImageSelect
Provides a 'image_select' element.

Namespace

Drupal\webform_image_select\Plugin\WebformElement

Code

protected function defineTranslatableProperties() {
  return array_merge(parent::defineTranslatableProperties(), [
    'images',
    'filter__placeholder',
    'filter__singlular',
    'filter__plural',
    'filter__no_results',
  ]);
}