It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.
Related to the Views in Drupal Core initiative.
Part of meta-issue #1856630: [Change notice] [META] Rename Views methods to core standards
I'm working on this at the DrupalCon Portland sprint.
Patch attached
The last submitted patch, Drupal_core-Rename-Views-method-offset_expose-to-isOffsetExposed-2003412-2.patch, failed testing.
#2: Drupal_core-Rename-Views-method-offset_expose-to-isOffsetExposed-2003412-2.patch queued for re-testing.
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.phpundefined @@ -253,7 +253,7 @@ function items_per_page_exposed() { + function isOffsetExposed() { +++ b/core/modules/views/lib/Drupal/views/Plugin/views/pager/SqlBase.phpundefined @@ -324,14 +324,14 @@ function update_page_info() { + function isOffsetExposed() {
Should be a public method.
Public has been added, patch attached.
The last submitted patch, Drupal_core-Rename-Views-method-offset_expose-to-isOffsetExposed-2003412-7.patch, failed testing.
OK, trying this again. Sorry, it's my first time trying to patch!
Looks good.
Only used by pager plugins. SHould be protected in stead of public.
Both instances of public changed to protected.
Committed 949f67b and pushed to 8.x. Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
louisjimenez commentedI'm working on this at the DrupalCon Portland sprint.
Comment #2
louisjimenez commentedPatch attached
Comment #4
heddnComment #5
louisjimenez commented#2: Drupal_core-Rename-Views-method-offset_expose-to-isOffsetExposed-2003412-2.patch queued for re-testing.
Comment #6
dawehnerShould be a public method.
Comment #7
ptocheia commentedPublic has been added, patch attached.
Comment #9
ptocheia commentedOK, trying this again. Sorry, it's my first time trying to patch!
Comment #10
heddnLooks good.
Comment #11
aspilicious commentedOnly used by pager plugins. SHould be protected in stead of public.
Comment #12
ptocheia commentedBoth instances of public changed to protected.
Comment #13
aspilicious commentedComment #14
alexpottCommitted 949f67b and pushed to 8.x. Thanks!