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;
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alphawebgroup’s picture

Status: Active » Needs review
FileSize
2.41 KB

Status: Needs review » Needs work

The last submitted patch, 2062261-1.patch, failed testing.

alphawebgroup’s picture

Status: Needs work » Needs review
FileSize
2.41 KB

just retesting

dawehner’s picture

Status: Needs review » Needs work

We should always use the curent_user service :(

alphawebgroup’s picture

Status: Needs work » Needs review
FileSize
2.4 KB
alphawebgroup’s picture

Status: Needs review » Closed (duplicate)