diff --git a/core/modules/views/src/Entity/View.php b/core/modules/views/src/Entity/View.php index 41fb1c1..40b14c3 100644 --- a/core/modules/views/src/Entity/View.php +++ b/core/modules/views/src/Entity/View.php @@ -346,9 +346,6 @@ public function postSave(EntityStorageInterface $storage, $update = TRUE) { $original_executable = $this->original->getExecutable(); $original_executable->initDisplay(); } - else { - $original_executable->initDisplay(); - } foreach ($executable->displayHandlers as $display_id => $display_handler) { // Note: The original might have not had the new display, so let's cast it // to an array so postSaveView can deal with it