From 059e30b0069e3c018b04022e022ccb086f2921a0 Mon Sep 17 00:00:00 2001 From: catch Date: Wed, 6 Feb 2013 14:02:52 +0000 Subject: [PATCH] Issue #1881674 by dawehner: Drop legacy area render functions. --- .../views/display/DisplayPluginBase.php | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php index 23bdb53bcf1b..82a4572bb5b2 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php @@ -2407,31 +2407,6 @@ abstract class DisplayPluginBase extends PluginBase { } } - - /** - * Legacy functions. - */ - - /** - * Render the header of the view. - */ - public function renderHeader() { - $empty = empty($this->view->result); - return $this->renderArea('header', $empty); - } - - /** - * Render the footer of the view. - */ - public function renderFooter() { - $empty = empty($this->view->result); - return $this->renderArea('footer', $empty); - } - - public function renderEmpty() { - return $this->renderArea('empty', TRUE); - } - /** * If this display creates a page with a menu item, implement it here. */