Issue #2002414 by theladebug: Rename Views method cache_start() to cacheStart().
parent
26c5f09b32
commit
f13b87ca4b
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue