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 |
---|---|---|---|
#6 | drupal-viewsRename-set_header-2003284-6.patch | 1.46 KB | heddn |
#6 | interdiff.txt | 948 bytes | heddn |
#2 | views-2003284-setHeader.patch | 611 bytes | phenaproxima |
Comments
Comment #1
phenaproximaComment #2
phenaproximaComment #3
phl3tch CreditAttribution: phl3tch commentedComment #4
alexpottIs this function even needed I can't work out how it will be called?
Comment #5
Maxis CreditAttribution: Maxis commentedI also did not find, but alread exist setHeader here https://api.drupal.org/api/drupal/core!vendor!guzzle!http!Guzzle!Http!Me... etc
may be need rework?
Comment #6
heddnI can't see where it is ever used either. Let's try removing it then.
Comment #7
tim.plunkettIn many cases, "it's not used in core" is not valid. See #2002918-26: Rename Views method get_items() to getItems()
In this case, the last known usage of set_header() was removed in 2007: http://drupalcode.org/project/views.git/commit/582713d
Comment #8
dawehnerYeah this seriously does not belong there!
Comment #9
alexpottCommitted 4d492fe and pushed to 8.x. Thanks!