public static function WebformOptionsCustom::setOptions in Webform 6.x
Same name in this branch
- 6.x modules/webform_options_custom/src/Element/WebformOptionsCustom.php \Drupal\webform_options_custom\Element\WebformOptionsCustom::setOptions()
- 6.x modules/webform_options_custom/src/Entity/WebformOptionsCustom.php \Drupal\webform_options_custom\Entity\WebformOptionsCustom::setOptions()
- 6.x modules/webform_options_custom/src/Plugin/WebformElement/WebformOptionsCustom.php \Drupal\webform_options_custom\Plugin\WebformElement\WebformOptionsCustom::setOptions()
Same name and namespace in other branches
- 8.5 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 258
Class
- WebformOptionsCustom
- Provides an element for a selecting custom options from HTML or SVG markup.
Namespace
Drupal\webform_options_custom\ElementCode
public static function setOptions(array &$element) {
// Do nothing.
}