public function DisplayTest::preview in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayTest.php \Drupal\views_test_data\Plugin\views\display\DisplayTest::preview()
Renders the display for the purposes of a live preview.
Also might be used for some other AJAXy reason.
Overrides DisplayPluginBase::preview
File
- core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ display/ DisplayTest.php, line 137 - Contains \Drupal\views_test_data\Plugin\views\display\DisplayTest.
Class
- DisplayTest
- Defines a Display test plugin.
Namespace
Drupal\views_test_data\Plugin\views\displayCode
public function preview() {
return $this
->execute();
}