Skip to content
Snippets Groups Projects
Commit f0656a7c authored by catch's avatar catch
Browse files

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

parent 06449a5a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment