Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Part of meta-issue #1856630: [Change notice] [META] Rename Views methods to core standards
Comment | File | Size | Author |
---|---|---|---|
#8 | views-rename_op_ends-2003540-8.patch | 1.73 KB | JeroenT |
#6 | views-rename-op_not_ends-2003540-6.patch | 1.73 KB | JeroenT |
#4 | views-rename_op_not_ends-2003540-4.patch | 1.74 KB | JeroenT |
#2 | views.module-rename-op_not_ends_with-2003540-02.patch | 1.72 KB | toddtomlinson |
Comments
Comment #1
toddtomlinson CreditAttribution: toddtomlinson commentedComment #2
toddtomlinson CreditAttribution: toddtomlinson commentedPatch attached that renames op_not_ends
Comment #4
JeroenTrename op_not_ends() to addNotEndsWith().
Comment #5
heddnIn #2003582: Rename Views method op_equal() to opEqual() it was decided to not rename a function from op_{foo} to add{foo}. So to be consistent this patch should just change the name to opNotEndsWith.
Comment #6
JeroenTHere is the right patch. Renaming op_not_ends() to OpNotEndsWith().
Comment #7
dawehnerShould be proctected
Comment #8
JeroenTAdded protected access modifier as mentioned by dawehner.
Comment #9
dawehnerThank you very much.
Comment #10
alexpottCommitted 689127e and pushed to 8.x. Thanks!
Comment #11
daven CreditAttribution: daven commentedNote, the table in the meta issue says to rename to opNotEndsWith but the issue title and patch do not have 'With'
Comment #12
xjmAdded followup #1856630: [Change notice] [META] Rename Views methods to core standards per #11.