core/modules/views/src/Entity/View.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/views/src/Entity/View.php b/core/modules/views/src/Entity/View.php index a6c0b4a..7f2b053 100644 --- a/core/modules/views/src/Entity/View.php +++ b/core/modules/views/src/Entity/View.php @@ -303,12 +303,12 @@ public function preSave(EntityStorageInterface $storage) { // @todo Check whether isSyncing is needed. if (!$this->isSyncing()) { - $this->setCacheability(); + $this->fillInCacheability(); } } /** - * Sets the cacheability of this view. + * Fills in the cacheability of this view. * * Cacheability is set per view and per display, and ends up being stored in * the view's config entity. This allows Views to determine very efficiently: @@ -319,7 +319,7 @@ public function preSave(EntityStorageInterface $storage) { * Views plugins and handlers to determine their effect on the cacheability of * a view at save time rather than at runtime. */ - protected function setCacheability() { + protected function fillInCacheability() { $executable = $this->getExecutable(); $current_display = $executable->current_display;