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 a66b76d..2a6c37a 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 @@ -215,7 +215,7 @@ function post_render(&$output) { } * * @see drupal_add_html_head() */ - function cache_start() { + protected function cacheStart() { $this->storage['head'] = drupal_add_html_head(); } diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/cache/None.php b/core/modules/views/lib/Drupal/views/Plugin/views/cache/None.php index f510248..2f9ed75 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/cache/None.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/cache/None.php @@ -23,7 +23,7 @@ */ class None extends CachePluginBase { - function cache_start() { /* do nothing */ } + protected function cacheStart() { /* do nothing */ } public function summaryTitle() { return t('None'); diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php index 3daed62..b4321c7 100644 --- a/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -1239,7 +1239,7 @@ public function render($display_id = NULL) { } else { if ($cache) { - $cache->cache_start(); + $cache->cacheStart(); } // Run pre_render for the pager as it might change the result.