You are here

public function WebformElementInterface::buildExportRecord in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::buildExportRecord()

Build an element's export row.

Parameters

array $element: An element.

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

array $export_options: An associative array of export options.

Return value

array An array containing the element's export row.

See also

\Drupal\webform\WebformSubmissionExporterInterface::getDefaultExportOptions

1 method overrides WebformElementInterface::buildExportRecord()
WebformElementBase::buildExportRecord in src/Plugin/WebformElementBase.php
Build an element's export row.

File

src/Plugin/WebformElementInterface.php, line 751

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function buildExportRecord(array $element, WebformSubmissionInterface $webform_submission, array $export_options);