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