You are here

public function EntityBrowser::preview in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/display/EntityBrowser.php \Drupal\entity_browser\Plugin\views\display\EntityBrowser::preview()

Renders the display for the purposes of a live preview.

Also might be used for some other AJAXy reason.

Overrides DisplayPluginBase::preview

File

src/Plugin/views/display/EntityBrowser.php, line 103

Class

EntityBrowser
The plugin that handles entity browser display.

Namespace

Drupal\entity_browser\Plugin\views\display

Code

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