diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php index 7386c00..206843a 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php @@ -2013,6 +2013,7 @@ public function submitOptionsForm(&$form, FormStateInterface $form_state) { $plugin->submitOptionsForm($form[$plugin_type . '_options'], $form_state); $plugin_options['options'] = $form_state->getValue($section); $this->setOption($plugin_type, $plugin_options); + $form_state->unsetValue($section); } break; } diff --git a/core/modules/views/config/schema/views.data_types.schema.yml b/core/modules/views/config/schema/views.data_types.schema.yml index b9170cb..8e4bb97 100644 --- a/core/modules/views/config/schema/views.data_types.schema.yml +++ b/core/modules/views/config/schema/views.data_types.schema.yml @@ -187,9 +187,6 @@ views_display: filter_groups: type: boolean label: 'Filter groups' - pager_options: - type: boolean - label: 'Pager options' relationships: type: sequence label: 'Relationships' @@ -225,9 +222,6 @@ views_display: link_url: type: string label: 'Link URL' - pager_options: - type: boolean - label: 'Pager options' header: type: sequence label: 'Header' diff --git a/core/modules/views/src/Tests/Wizard/ItemsPerPageTest.php b/core/modules/views/src/Tests/Wizard/ItemsPerPageTest.php index edb2e79..7774707 100644 --- a/core/modules/views/src/Tests/Wizard/ItemsPerPageTest.php +++ b/core/modules/views/src/Tests/Wizard/ItemsPerPageTest.php @@ -52,6 +52,9 @@ function testItemsPerPage() { $this->drupalGet($view['page[path]']); $this->assertResponse(200); + debug(\Drupal::config('views.view.' . $view['id'])->get()); + return; + // Make sure the page display shows the nodes we expect, and that they // appear in the expected order. $this->assertUrl($view['page[path]']);