public function WebformElementInterface::preview in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::preview()
Generate a renderable preview of the element.
Return value
array A renderable preview of the element.
1 method overrides WebformElementInterface::preview()
- WebformElementBase::preview in src/
Plugin/ WebformElementBase.php - Generate a renderable preview of the element.
File
- src/
Plugin/ WebformElementInterface.php, line 630
Class
- WebformElementInterface
- Defines the interface for webform elements.
Namespace
Drupal\webform\PluginCode
public function preview();