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 |
---|---|---|---|
#10 | views-rename_op_stars-2003554-10.patch | 1.69 KB | JeroenT |
#7 | drupal_rename_op_starts-2003510-7.patch | 1.68 KB | nathangervais |
#4 | views-rename_op_starts_to_addStartsWith-2003510-5.patch | 1.69 KB | JeroenT |
#2 | drupal-Views_method-opstarts-2003510-2.patch | 1.68 KB | joeystern |
Comments
Comment #1
joeystern CreditAttribution: joeystern commentedComment #2
joeystern CreditAttribution: joeystern commentedCompleted change listed here, now requires check
Comment #4
JeroenTrename views method op_starts() to addStartsWith().
Patch attached.
Comment #5
aspilicious CreditAttribution: aspilicious commentedDone
Comment #6
alexpottIn #2003582: Rename Views method op_equal() to opEqual() it was decided to not rename a function from op_whatever to addWhatever. So to be consistent this patch should just change the name to opStartsWith - I'm okay with adding the With as this makes sense.
Comment #7
nathangervais CreditAttribution: nathangervais commentedRerolled patch to rename op_starts() to opStartsWith()
Comment #8
heddnFixing title.
Comment #10
JeroenTrename op_starts() to opStartsWith().
Comment #11
dawehnerSeems fine.
Comment #12
alexpottCommitted 995e449 and pushed to 8.x. Thanks!