You are here

public function YamlFormElementInterface::formatTableColumn in YAML Form 8

Format an element's table column value.

Parameters

array $element: An element.

array|mixed $value: A value.

array $options: An array of options returned from ::getTableColumns().

Return value

array|string The element's value formatted as an HTML string or a render array.

1 method overrides YamlFormElementInterface::formatTableColumn()
YamlFormElementBase::formatTableColumn in src/YamlFormElementBase.php
Format an element's table column value.

File

src/YamlFormElementInterface.php, line 421

Class

YamlFormElementInterface
Defines the interface for form elements.

Namespace

Drupal\yamlform

Code

public function formatTableColumn(array $element, $value, array $options = []);