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.
derived from #2061921: Remove calls to deprecated global $user in views module
Part of #2047951: [META] Remove calls to deprecated global $user and $GLOBALS['user']
All places in views plugin CachePluginBase.php of the views module should be fixed with $request properly injected
core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php:
global $user;
Comment | File | Size | Author |
---|---|---|---|
#7 | 2062169-7.patch | 2.97 KB | alphawebgroup |
#5 | 2062169-5.patch | 2.44 KB | alphawebgroup |
#1 | vdc-cachepluginbase-2062169-1.patch | 2.44 KB | alphawebgroup |
Comments
Comment #1
alphawebgroupComment #2
victor-shelepen CreditAttribution: victor-shelepen commentedReviewed.
Comment #4
alphawebgroup#1: vdc-cachepluginbase-2062169-1.patch queued for re-testing.
Comment #5
alphawebgroupjust retesting
Comment #6
dawehnerWe should always use the curent_user service :(
Comment #7
alphawebgroupComment #9
alphawebgroupComment #9.0
alphawebgroupUpdated issue summary.