public function YamlFormElementInterface::buildHtml in YAML Form 8
Build an element as HTML 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 HTML.
1 method overrides YamlFormElementInterface::buildHtml()
- YamlFormElementBase::buildHtml in src/
YamlFormElementBase.php - Build an element as HTML element.
File
- src/
YamlFormElementInterface.php, line 310
Class
- YamlFormElementInterface
- Defines the interface for form elements.
Namespace
Drupal\yamlformCode
public function buildHtml(array &$element, $value, array $options = []);