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