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

core/modules/views/lib/Drupal/views/ViewExecutable.php:

$account = $GLOBALS['user'];

See change notice https://drupal.org/node/2032447

CommentFileSizeAuthor
#3 2062421-3.patch1.08 KBalphawebgroup
#1 2062421-1.patch567 bytesalphawebgroup
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alphawebgroup’s picture

Status: Active » Needs review
FileSize
567 bytes
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
1.08 KB

also, some comments were fixed

Status: Needs review » Needs work

The last submitted patch, 2062421-3.patch, failed testing.

alphawebgroup’s picture

Status: Needs work » Closed (duplicate)
alphawebgroup’s picture

Issue summary: View changes

Updated issue summary.