function DisplayPluginInterface::preview
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::preview()
- 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::preview()
- 11.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::preview()
Renders the display for the purposes of a live preview.
Also might be used for some other AJAXy reason.
Return value
array The render array of live preview.
1 method overrides DisplayPluginInterface::preview()
- DisplayPluginBase::preview in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Renders the display for the purposes of a live preview.
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginInterface.php, line 505
Class
- DisplayPluginInterface
- Provides an interface for Views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function preview();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.