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 FilterPluginBase.php of the views module should be fixed with $request properly injected
core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php:
global $user;
Comment | File | Size | Author |
---|---|---|---|
#5 | 2062261-5.patch | 2.4 KB | alphawebgroup |
#3 | 2062261-3.patch | 2.41 KB | alphawebgroup |
#1 | 2062261-1.patch | 2.41 KB | alphawebgroup |
Comments
Comment #1
alphawebgroupComment #3
alphawebgroupjust retesting
Comment #4
dawehnerWe should always use the curent_user service :(
Comment #5
alphawebgroupComment #6
alphawebgroup