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 c2c2ffc..a436c5c 100644 --- a/core/modules/views/config/schema/views.data_types.schema.yml +++ b/core/modules/views/config/schema/views.data_types.schema.yml @@ -234,9 +234,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/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php index 7386c00..e471d8a 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php @@ -469,11 +469,9 @@ public function defaultableSections($section = NULL) { 'style' => array('style', 'row'), 'row' => array('style', 'row'), - 'pager' => array('pager', 'pager_options'), - 'pager_options' => array('pager', 'pager_options'), + 'pager' => array('pager'), - 'exposed_form' => array('exposed_form', 'exposed_form_options'), - 'exposed_form_options' => array('exposed_form', 'exposed_form_options'), + 'exposed_form' => array('exposed_form'), // These guys are special 'header' => array('header'), @@ -695,9 +693,6 @@ protected function defineOptions() { ); if (!$this->usesPager()) { - $options['defaults']['default']['use_pager'] = FALSE; - $options['defaults']['default']['items_per_page'] = FALSE; - $options['defaults']['default']['offset'] = FALSE; $options['defaults']['default']['pager'] = FALSE; $options['pager']['contains']['type']['default'] = 'some'; }