You are here

public function YamlFormSubmissionViewBuilderInterface::buildTable in YAML Form 8

Build table display from elements and submitted data.

Parameters

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

array $data: Submission data.

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 YamlFormSubmissionViewBuilderInterface::buildTable()
YamlFormSubmissionViewBuilder::buildTable in src/YamlFormSubmissionViewBuilder.php
Build table display from elements and submitted data.

File

src/YamlFormSubmissionViewBuilderInterface.php, line 45

Class

YamlFormSubmissionViewBuilderInterface
Defines an interface for form view builder classes.

Namespace

Drupal\yamlform

Code

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