You are here

public static function WebformOptionsCustom::setOptions in Webform 8.5

Same name in this branch
  1. 8.5 modules/webform_options_custom/src/Element/WebformOptionsCustom.php \Drupal\webform_options_custom\Element\WebformOptionsCustom::setOptions()
  2. 8.5 modules/webform_options_custom/src/Entity/WebformOptionsCustom.php \Drupal\webform_options_custom\Entity\WebformOptionsCustom::setOptions()
  3. 8.5 modules/webform_options_custom/src/Plugin/WebformElement/WebformOptionsCustom.php \Drupal\webform_options_custom\Plugin\WebformElement\WebformOptionsCustom::setOptions()
Same name and namespace in other branches
  1. 6.x modules/webform_options_custom/src/Element/WebformOptionsCustom.php \Drupal\webform_options_custom\Element\WebformOptionsCustom::setOptions()

Set a custom options element #options property.

Parameters

array $element: A custom options element.

1 call to WebformOptionsCustom::setOptions()
WebformOptionsCustom::setTemplateOptions in modules/webform_options_custom/src/Element/WebformOptionsCustom.php
Set a custom options element #options property.

File

modules/webform_options_custom/src/Element/WebformOptionsCustom.php, line 257

Class

WebformOptionsCustom
Provides an element for a selecting custom options from HTML or SVG markup.

Namespace

Drupal\webform_options_custom\Element

Code

public static function setOptions(array &$element) {

  // Do nothing.
}