You are here

public function WebformOptionsCustomInterface::setOptions in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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_custom

Code

public function setOptions(array $options);