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