You are here

public function WebformSignature::getExportDefaultOptions in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/WebformSignature.php \Drupal\webform\Plugin\WebformElement\WebformSignature::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/WebformSignature.php, line 144

Class

WebformSignature
Provides a 'signature' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function getExportDefaultOptions() {
  return [
    'signature_format' => 'status',
  ];
}