protected function WebformOptionsCustomForm::getOptions in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_options_custom/src/WebformOptionsCustomForm.php \Drupal\webform_options_custom\WebformOptionsCustomForm::getOptions()
Get options.
Return value
array An associative array of options.
1 call to WebformOptionsCustomForm::getOptions()
- WebformOptionsCustomForm::form in modules/
webform_options_custom/ src/ WebformOptionsCustomForm.php - Gets the actual form array to be built.
File
- modules/
webform_options_custom/ src/ WebformOptionsCustomForm.php, line 493
Class
- WebformOptionsCustomForm
- Provides a form to set webform options custom.
Namespace
Drupal\webform_options_customCode
protected function getOptions() {
/** @var \Drupal\webform_options_custom\WebformOptionsCustomInterface $webform_options_custom */
$webform_options_custom = $this
->getEntity();
$options = $webform_options_custom
->getOptions();
return WebformOptionsHelper::convertOptionsToString($options);
}