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 |
---|---|---|---|
#5 | views-core-blockDisplayOptions-2002366-05.patch | 3.61 KB | SpartyDan |
#2 | 2002366-2-rename_blockDisplayOptions.patch | 3.52 KB | Gung Wang |
Comments
Comment #1
Gung Wang CreditAttribution: Gung Wang commentedI take it.
Comment #2
Gung Wang CreditAttribution: Gung Wang commentedUploaded the patch.
Comment #3
elvis2 CreditAttribution: elvis2 commentedShould the access modifier on this function be public?
Comment #4
heddnIf the method is only used internally i.e. $this->{foo}, then I'd recommend protected. Otherwise, go with public as it needs to be usable by folks outside the class is apart of the public API.
Comment #5
SpartyDan CreditAttribution: SpartyDan commentedCorrected error in documentation page_display_options should be block_display_options which is updated by this patch to be blockDisplayOptions
Updates from patch in comment #2 are also included in this patch.
Comment #6
aspilicious CreditAttribution: aspilicious commentedShould be ok if it comes back green
Comment #7
elvis2 CreditAttribution: elvis2 commentedComment #8
aspilicious CreditAttribution: aspilicious commentedComment #9
alexpottCommitted cb1e2df and pushed to 8.x. Thanks!