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.
Files that need converting are:
- core/modules/views/includes/ajax.inc
- core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
- core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
- core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
- core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
Comment | File | Size | Author |
---|---|---|---|
#8 | 1999450_8-replace-raw-variables-views.patch | 1.78 KB | aaronott |
#8 | 1999450_-replace-raw-variables-views_interdiff.txt | 921 bytes | aaronott |
#6 | 1999450_6-replace-raw-variables-views.patch | 1.69 KB | aaronott |
#4 | 1999450_4-replace-raw-variables-views.patch | 1.69 KB | aaronott |
#4 | 1999450-replace-raw-variables-views.innerdiff.txt | 763 bytes | aaronott |
Comments
Comment #1
aaronott CreditAttribution: aaronott commentedStarting the conversion.
Comment #2
aaronott CreditAttribution: aaronott commentedComment #3
damiankloip CreditAttribution: damiankloip commentedWe call that method twice here, we should use ->has($key) instead, or assign it to a variable first to re use.
Comment #4
aaronott CreditAttribution: aaronott commentedI switched this to the ->has($key)
Comment #6
aaronott CreditAttribution: aaronott commentedAgain with PSR-0
Comment #7
kim.pepperThis needs to be namespaced as well in PSR-0. Should be \Drupal.
We should also create a $query variable to be re-used.
Comment #8
aaronott CreditAttribution: aaronott commentedMakes sense to me. Thanks!
Comment #9
dawehnerOh I thought we would have converted all of them, so these ones sort of got lost.
Comment #10
alexpottCommitted a5343cb and pushed to 8.x. Thanks!