function DisplayPluginBase::preview in Views (for Drupal 7) 8.3
Fully render the display for the purposes of a live preview or some other AJAXy reason.
2 methods override DisplayPluginBase::preview()
- DisplayTest::preview in tests/
views_test_data/ lib/ Drupal/ views_test_data/ Plugin/ views/ display/ DisplayTest.php - Overrides Drupal\views\Plugin\views\display\DisplayPluginBase::preview().
- Feed::preview in lib/
Drupal/ views/ Plugin/ views/ display/ Feed.php - Fully render the display for the purposes of a live preview or some other AJAXy reason.
File
- lib/
Drupal/ views/ Plugin/ views/ display/ DisplayPluginBase.php, line 2544 - Definition of Drupal\views\Plugin\views\display\DisplayPluginBase.
Class
- DisplayPluginBase
- The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.
Namespace
Drupal\views\Plugin\views\displayCode
function preview() {
return $this->view
->render();
}