From 7c5c0d62c7c0a2035003ba062d26180e1839aa54 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Mon, 21 Mar 2016 09:19:23 +0000
Subject: [PATCH] Issue #2690917 by prics, dawehner: Use mini pager by default
 for new views

(cherry picked from commit 1b3b67079237fb68f236e78dc371cd7a13426c21)
---
 .../views/src/Plugin/views/wizard/WizardPluginBase.php      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php b/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
index 8cc568c3dc44..d8f90c38fcb1 100644
--- a/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
+++ b/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
@@ -800,7 +800,7 @@ protected function defaultDisplayOptions() {
     $display_options['cache']['type'] = 'tag';
     $display_options['query']['type'] = 'views_query';
     $display_options['exposed_form']['type'] = 'basic';
-    $display_options['pager']['type'] = 'full';
+    $display_options['pager']['type'] = 'mini';
     $display_options['style']['type'] = 'default';
     $display_options['row']['type'] = 'fields';
 
@@ -1038,9 +1038,9 @@ protected function pageDisplayOptions(array $form, FormStateInterface $form_stat
     if (empty($page['items_per_page'])) {
       $display_options['pager']['type'] = 'none';
     }
-    // If the user checked the pager checkbox use a full pager.
+    // If the user checked the pager checkbox use a mini pager.
     elseif (!empty($page['pager'])) {
-      $display_options['pager']['type'] = 'full';
+      $display_options['pager']['type'] = 'mini';
     }
     // If the user doesn't have checked the checkbox use the pager which just
     // displays a certain amount of items.
-- 
GitLab