Commit f0656a7c authored by catch's avatar catch

Issue #1905608 by damiankloip: Fixed EntityReference style plugin has preview method.

parent 06449a5a
......@@ -101,17 +101,6 @@ public function render() {
return $results;
}
/**
* Overrides \Drupal\views\Plugin\views\display\PathPluginBase::preview().
*/
public function preview() {
if (!empty($this->view->live_preview)) {
return '<pre>' . check_plain($this->view->render()) . '</pre>';
}
return $this->view->render();
}
/**
* Overrides \Drupal\views\Plugin\views\style\StylePluginBase\StylePluginBase::even_empty().
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment