Issue #2002414 by theladebug: Rename Views method cache_start() to cacheStart().

8.0.x
Alex Pott 2013-06-05 07:14:31 +01:00
parent 26c5f09b32
commit f13b87ca4b
3 changed files with 3 additions and 3 deletions

View File

@ -215,7 +215,7 @@ abstract class CachePluginBase extends PluginBase {
*
* @see drupal_add_html_head()
*/
function cache_start() {
public function cacheStart() {
$this->storage['head'] = drupal_add_html_head();
}

View File

@ -23,7 +23,7 @@ use Drupal\Core\Annotation\Translation;
*/
class None extends CachePluginBase {
function cache_start() { /* do nothing */ }
public function cacheStart() { /* do nothing */ }
public function summaryTitle() {
return t('None');

View File

@ -1242,7 +1242,7 @@ class ViewExecutable {
}
else {
if ($cache) {
$cache->cache_start();
$cache->cacheStart();
}
// Run pre_render for the pager as it might change the result.