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