You are here

protected function Checkboxes::defineTranslatableProperties in Webform 6.x

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

Define an element's translatable properties.

Return value

array An array containing an element's translatable properties.

Overrides OptionsBase::defineTranslatableProperties

File

src/Plugin/WebformElement/Checkboxes.php, line 50

Class

Checkboxes
Provides a 'checkboxes' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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