Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
306
Merge Requests
306
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
55f5d78e
Commit
55f5d78e
authored
May 28, 2013
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2002970
by bdone: Rename Views method get_pager_id() to getPagerId().
parent
acd9be1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php
...s/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php
+1
-1
core/modules/views/views.theme.inc
core/modules/views/views.theme.inc
+1
-1
No files found.
core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php
View file @
55f5d78e
...
...
@@ -133,7 +133,7 @@ function get_total_items() {
/**
* Get the pager id, if it exists
*/
function
get_pager_i
d
()
{
public
function
getPagerI
d
()
{
return
isset
(
$this
->
options
[
'id'
])
?
$this
->
options
[
'id'
]
:
0
;
}
...
...
core/modules/views/views.theme.inc
View file @
55f5d78e
...
...
@@ -151,7 +151,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_i
d
()
:
0
,
'pager_element'
=>
isset
(
$view
->
pager
)
?
$view
->
pager
->
get
PagerI
d
()
:
0
,
),
),
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment