diff --git a/core/modules/views/src/Plugin/views/style/Opml.php b/core/modules/views/src/Plugin/views/style/Opml.php index 02b1e3d90e8..ad8c30dfe6c 100644 --- a/core/modules/views/src/Plugin/views/style/Opml.php +++ b/core/modules/views/src/Plugin/views/style/Opml.php @@ -55,10 +55,6 @@ class Opml extends StylePluginBase { * {@inheritdoc} */ public function render() { - if (empty($this->view->rowPlugin)) { - trigger_error('Drupal\views\Plugin\views\style\Opml: Missing row plugin', E_WARNING); - return []; - } $rows = []; foreach ($this->view->result as $row_index => $row) { diff --git a/core/modules/views/src/Plugin/views/style/Rss.php b/core/modules/views/src/Plugin/views/style/Rss.php index 1442276c594..3bd5fb94d90 100644 --- a/core/modules/views/src/Plugin/views/style/Rss.php +++ b/core/modules/views/src/Plugin/views/style/Rss.php @@ -97,10 +97,6 @@ class Rss extends StylePluginBase { } public function render() { - if (empty($this->view->rowPlugin)) { - trigger_error('Drupal\views\Plugin\views\style\Rss: Missing row plugin', E_WARNING); - return []; - } $rows = []; // This will be filled in by the row plugin and is used later on in the diff --git a/core/modules/views/src/Plugin/views/style/StylePluginBase.php b/core/modules/views/src/Plugin/views/style/StylePluginBase.php index e39e5cd7cfc..235735ab514 100644 --- a/core/modules/views/src/Plugin/views/style/StylePluginBase.php +++ b/core/modules/views/src/Plugin/views/style/StylePluginBase.php @@ -463,11 +463,6 @@ abstract class StylePluginBase extends PluginBase { * Render the display in this style. */ public function render() { - if ($this->usesRowPlugin() && empty($this->view->rowPlugin)) { - trigger_error('Drupal\views\Plugin\views\style\StylePluginBase: Missing row plugin', E_WARNING); - return []; - } - // Group the rows according to the grouping instructions, if specified. $sets = $this->renderGrouping( $this->view->result,