You are here

public function DisplayTest::preview in Views (for Drupal 7) 8.3

Overrides Drupal\views\Plugin\views\display\DisplayPluginBase::preview().

Override so preview and execute are the same output.

Overrides DisplayPluginBase::preview

File

tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/display/DisplayTest.php, line 130
Definition of Drupal\views_test_data\Plugin\views\display\DisplayTest.

Class

DisplayTest
Defines a Display test plugin.

Namespace

Drupal\views_test_data\Plugin\views\display

Code

public function preview() {
  return $this
    ->execute();
}