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