public function DisplayTest::preview in Drupal 9
Same name and namespace in other branches
- 8 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 132
Class
- DisplayTest
- Defines a Display test plugin.
Namespace
Drupal\views_test_data\Plugin\views\displayCode
public function preview() {
return $this
->execute();
}