You are here

public function YamlFormElementInterface::buildText in YAML Form 8

Build an element as text element.

Parameters

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.

1 method overrides YamlFormElementInterface::buildText()
YamlFormElementBase::buildText in src/YamlFormElementBase.php
Build an element as text element.

File

src/YamlFormElementInterface.php, line 325

Class

YamlFormElementInterface
Defines the interface for form elements.

Namespace

Drupal\yamlform

Code

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