public function WebformTestCompositeFile::preview in Webform 6.x
Same name in this branch
- 6.x tests/modules/webform_test_element/src/Element/WebformTestCompositeFile.php \Drupal\webform_test_element\Element\WebformTestCompositeFile::preview()
- 6.x tests/modules/webform_test_element/src/Plugin/WebformElement/WebformTestCompositeFile.php \Drupal\webform_test_element\Plugin\WebformElement\WebformTestCompositeFile::preview()
Same name and namespace in other branches
- 8.5 tests/modules/webform_test_element/src/Plugin/WebformElement/WebformTestCompositeFile.php \Drupal\webform_test_element\Plugin\WebformElement\WebformTestCompositeFile::preview()
Generate a renderable preview of the element.
Return value
array A renderable preview of the element.
Overrides WebformElementBase::preview
File
- tests/
modules/ webform_test_element/ src/ Plugin/ WebformElement/ WebformTestCompositeFile.php, line 24
Class
- WebformTestCompositeFile
- Provides a 'webform_test_composite_file' element.
Namespace
Drupal\webform_test_element\Plugin\WebformElementCode
public function preview() {
return [];
}