public function WebformInterface::setElements in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::setElements()
Sets elements (YAML) value.
Parameters
array $elements: An renderable array of elements.
Return value
$this
1 method overrides WebformInterface::setElements()
- Webform::setElements in src/
Entity/ Webform.php - Sets elements (YAML) value.
File
- src/
WebformInterface.php, line 836
Class
- WebformInterface
- Provides an interface defining a webform entity.
Namespace
Drupal\webformCode
public function setElements(array $elements);