You are here

protected function WebformCard::defineTranslatableProperties in Webform 6.x

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

Define an element's translatable properties.

Return value

array An array containing an element's translatable properties.

Overrides WebformElementBase::defineTranslatableProperties

File

modules/webform_cards/src/Plugin/WebformElement/WebformCard.php, line 46

Class

WebformCard
Provides a 'card' element.

Namespace

Drupal\webform_cards\Plugin\WebformElement

Code

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