You are here

public function WebformSubmissionViewBuilderInterface::buildTable in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionViewBuilderInterface.php \Drupal\webform\WebformSubmissionViewBuilderInterface::buildTable()

Build table display from elements and submitted data.

Parameters

array $elements: A flattened array webform elements that have values.

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

array $options:

  • excluded_elements: An array of elements to be excluded.
  • email: Format element to be send via email.

Return value

array A render array displaying the submitted values in a table.

1 method overrides WebformSubmissionViewBuilderInterface::buildTable()
WebformSubmissionViewBuilder::buildTable in src/WebformSubmissionViewBuilder.php
Build table display from elements and submitted data.

File

src/WebformSubmissionViewBuilderInterface.php, line 47

Class

WebformSubmissionViewBuilderInterface
Defines an interface for webform view builder classes.

Namespace

Drupal\webform

Code

public function buildTable(array $elements, WebformSubmissionInterface $webform_submission, array $options = []);