You are here

protected function Table::build in YAML Form 8

Build an element as text or HTML.

Parameters

string $format: Format of the element, text or html.

array $element: An element.

array|mixed $value: A value.

array $options: An array of options.

Return value

array A render array representing an element as text or HTML.

Overrides YamlFormElementBase::build

File

src/Plugin/YamlFormElement/Table.php, line 73

Class

Table
Provides a 'table' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

protected function build($format, array &$element, $value, array $options = []) {
  return parent::build($format, $element, $value, $options);
}