You are here

public function WebformCompositeBase::getExportDefaultOptions in Webform 6.x

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

Get an element's default export options.

Return value

array An associative array containing an element's default export options.

Overrides WebformElementBase::getExportDefaultOptions

File

src/Plugin/WebformElement/WebformCompositeBase.php, line 720

Class

WebformCompositeBase
Provides a base for composite elements.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function getExportDefaultOptions() {
  return [
    'composite_element_item_format' => 'label',
  ];
}