Support from Acquia helps fund testing for Drupal Acquia logo

Comments

toddtomlinson’s picture

Assigned: Unassigned » toddtomlinson
toddtomlinson’s picture

Assigned: toddtomlinson » Unassigned
Status: Active » Needs review
FileSize
2.05 KB

Patch attached that renames get_total_items to getTotalItems

jameswoods’s picture

The method renaming code updates look good to me.

Status: Needs review » Needs work

The last submitted patch, views.core-2003494-rename-get_total_items-2003494-02.patch, failed testing.

oenie’s picture

+++ b/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.phpundefined
@@ -126,7 +126,7 @@ function set_current_page($number = NULL) {
+  function getTotalItems() {

Add public access modifier in front of the function to adhere to the new OOP standards.

Fix the above and the patch can be marked RTBC !

FredericoT’s picture

Status: Needs work » Needs review
FileSize
2.05 KB

This issue seems inactive to me so I figured I'd get the ball rolling again.

oenie’s picture

Status: Needs review » Reviewed & tested by the community

Looks fine to me now !

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 33144de and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.