diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php index 49ef067..0f899f5 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php @@ -133,7 +133,7 @@ function get_total_items() { /** * Get the pager id, if it exists */ - function get_pager_id() { + public function getPagerId() { return isset($this->options['id']) ? $this->options['id'] : 0; } diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc index e987ffd..b27fe0b 100644 --- a/core/modules/views/views.theme.inc +++ b/core/modules/views/views.theme.inc @@ -144,7 +144,7 @@ function template_preprocess_views_view(&$vars) { 'view_dom_id' => $vars['dom_id'], // To fit multiple views on a page, the programmer may have // overridden the display's pager_element. - 'pager_element' => isset($view->pager) ? $view->pager->get_pager_id() : 0, + 'pager_element' => isset($view->pager) ? $view->pager->getPagerId() : 0, ), ), ),