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