You are here

public function WebformCompositeBase::getExportDefaultOptions in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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 680

Class

WebformCompositeBase
Provides a base for composite elements.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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