function DisplayPluginInterface::preview

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::preview()
  2. 10 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::preview()
  3. 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.

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 499

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function preview();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.