diff --git a/core/modules/views/src/Entity/View.php b/core/modules/views/src/Entity/View.php index 47aab46..46b89c2 100644 --- a/core/modules/views/src/Entity/View.php +++ b/core/modules/views/src/Entity/View.php @@ -263,7 +263,6 @@ public function duplicateDisplayAsType($old_display_id, $new_display_type) { // Ensure that we just copy display options, which are provided by the new // display plugin. - $executable = $this->getExecutable(); $executable->setDisplay($new_display_id); $defined_options = $executable->display_handler->getDefinedOptions();