diff --git a/core/modules/views/src/Views.php b/core/modules/views/src/Views.php
index daff41c8b2508d4aed2a444a155fff515a4bfac2..61f053c1a55c0723c0f031a8235759fca86d6801 100644
--- a/core/modules/views/src/Views.php
+++ b/core/modules/views/src/Views.php
@@ -157,7 +157,7 @@ public static function fetchPluginNames($type, $key = NULL, array $base = array(
       }
 
       if (empty($plugin['no_ui']) && (empty($base) || empty($plugin['base']) || array_intersect($base, $plugin['base']))) {
-        $plugins[$id] = $plugin['title'];
+        $plugins[$id] = (string) $plugin['title'];
       }
     }
 
diff --git a/core/modules/views_ui/src/Tests/DisplayTest.php b/core/modules/views_ui/src/Tests/DisplayTest.php
index 061c4d3980a7a5250d5ef3a7fa238bafd1ccdb78..5473cc12dfc701c4b36fd45cdd01e981c54b0d90 100644
--- a/core/modules/views_ui/src/Tests/DisplayTest.php
+++ b/core/modules/views_ui/src/Tests/DisplayTest.php
@@ -167,6 +167,7 @@ public function testLinkDisplay() {
 
     // Test the default link_url value for new display
     $this->drupalPostForm(NULL, array(), t('Add Block'));
+    $this->assertUrl('admin/structure/views/view/test_display/edit/block_2');
     $this->clickLink(t('Custom URL'));
     $this->assertFieldByName('link_url', 'a-custom-url');
   }