You are here

protected function YamlFormFlexbox::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 ContainerBase::build

File

src/Plugin/YamlFormElement/YamlFormFlexbox.php, line 32

Class

YamlFormFlexbox
Provides a 'flexbox' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

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