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 DisplayPluginBase.php of the views module should be fixed with $request properly injected

core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php:

global $user;
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alphawebgroup’s picture

Status: Active » Needs review
FileSize
2.6 KB

Status: Needs review » Needs work

The last submitted patch, vdc-displaypluginbase-2062227-1.patch, failed testing.

alphawebgroup’s picture

Status: Needs work » Needs review
FileSize
2.6 KB
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.6 KB

Status: Needs review » Needs work

The last submitted patch, 2062227-5.patch, failed testing.

alphawebgroup’s picture

Status: Needs work » Closed (duplicate)