this has already been implemented as
protected function currentUser() {
...

Contribution Date
Technology
Contribution Project
Contribution Details

this has already been implemented as

protected function currentUser() { return \Drupal::currentUser(); }

and

public static function currentUser() { return static::$container->get('current_user'); }
Issue Status
closed
Contribution Author
Files count
0
Patches count
0