From 6aa02080707fcd33350f707786e15946fd53f710 Mon Sep 17 00:00:00 2001
From: damiankloip <damian@damoweb.co.uk>
Date: Mon, 27 Aug 2012 13:03:32 +0200
Subject: [PATCH] Added default values for default display plugin

---
 lib/Drupal/views/ViewStorageController.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/Drupal/views/ViewStorageController.php b/lib/Drupal/views/ViewStorageController.php
index 7318b3c5090f..b2d4217477f8 100644
--- a/lib/Drupal/views/ViewStorageController.php
+++ b/lib/Drupal/views/ViewStorageController.php
@@ -108,7 +108,11 @@ public function create(array $values) {
     // default display.
     $values += array(
       'display' => array(
-        'default' => array()
+        'default' => array(
+          'display_plugin' => 'default',
+          'id' => 'default',
+          'display_title' => 'Master',
+        ),
       )
     );
 
-- 
GitLab