From 9b3f8719d29f579099f81f150c7a5b74d4737229 Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 17 Jun 2013 00:22:57 -0500 Subject: [PATCH] Issue #2020693 by heddn: Rename Views method post_render() to postRender(). --- .../lib/Drupal/views/Plugin/views/cache/CachePluginBase.php | 2 +- .../views/Plugin/views/exposed_form/ExposedFormPluginBase.php | 2 +- core/modules/views/lib/Drupal/views/ViewExecutable.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php index 0316139601..2b7fa9c5e1 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php @@ -204,7 +204,7 @@ public function cacheFlush() { * All of the cached result data will be available in $view->result, as well, * so all ids used in the query should be discoverable. */ - function post_render(&$output) { } + public function postRender(&$output) { } /** * Start caching the html head. diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php index 9b71618ad1..c58c582f2f 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php @@ -175,7 +175,7 @@ public function query() { function pre_render($values) { } - function post_render(&$output) { } + public function postRender(&$output) { } public function preExecute() { } diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php index d3c939e180..68027f4044 100644 --- a/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -1299,10 +1299,10 @@ public function render($display_id = NULL) { } } - $exposed_form->post_render($this->display_handler->output); + $exposed_form->postRender($this->display_handler->output); if ($cache) { - $cache->post_render($this->display_handler->output); + $cache->postRender($this->display_handler->output); } // Let modules modify the view output after it is rendered. -- GitLab