You are here

protected property NotFound::$account in Unpublished 404 8

The current user.

Type: \Drupal\Core\Session\AccountProxyInterface

File

src/EventSubscriber/NotFound.php, line 20

Class

NotFound
Redirects 403 node page error responses to 404 page.

Namespace

Drupal\unpublished_404\EventSubscriber

Code

protected $account;