public function WebformElementInterface::preview in Webform 8.5
Same name and namespace in other branches
- 6.x 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();