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
taking this with sillygwailo
attaching patch
changing to needs review
The last submitted patch, drupal-camelcase-replace-2003556-7451770.patch, failed testing.
#2: drupal-camelcase-replace-2003556-7451770.patch queued for re-testing.
This probably should get protected.
Rerolled patch with protected modifiers, from latest head.
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/GroupByNumeric.phpundefined @@ -44,7 +44,7 @@ function op_simple($field) { - function op_empty($field) { + protected function addEmpty($field) { +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/InOperator.phpundefined @@ -125,13 +125,13 @@ function operators() { - 'method' => 'op_empty', + 'method' => 'addEmpty',
Let's go with opEmpty.
Patch rerolled. Renamed to opEmpty, updating bug title.
The last submitted patch, views_rename_op_empty-2003556-10.patch, failed testing.
Rerolled Patch.
The last submitted patch, views_rename_op_empty-2003556-12.patch, failed testing.
re-roll
Perfect!
Committed 6be4fdb and pushed to 8.x. Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
baldwinlouie commentedtaking this with sillygwailo
Comment #2
baldwinlouie commentedattaching patch
Comment #3
baldwinlouie commentedchanging to needs review
Comment #5
heddnComment #6
baldwinlouie commented#2: drupal-camelcase-replace-2003556-7451770.patch queued for re-testing.
Comment #7
dawehnerThis probably should get protected.
Comment #8
nathangervais commentedRerolled patch with protected modifiers, from latest head.
Comment #9
dawehnerLet's go with opEmpty.
Comment #10
nathangervais commentedPatch rerolled. Renamed to opEmpty, updating bug title.
Comment #12
nathangervais commentedRerolled Patch.
Comment #14
SpartyDan commentedre-roll
Comment #15
dawehnerPerfect!
Comment #16
alexpottCommitted 6be4fdb and pushed to 8.x. Thanks!