You are here

public function YamlFormInterface::setElements in YAML Form 8

Sets elements (YAML) value.

Parameters

array $elements: An renderable array of elements.

Return value

$this

1 method overrides YamlFormInterface::setElements()
YamlForm::setElements in src/Entity/YamlForm.php
Sets elements (YAML) value.

File

src/YamlFormInterface.php, line 343

Class

YamlFormInterface
Provides an interface defining a form entity.

Namespace

Drupal\yamlform

Code

public function setElements(array $elements);