You are here

protected property ProtectedPagesSubscriber::$currentUser in Protected Pages 8

The account proxy service.

Type: \Drupal\Core\Session\AccountProxy

File

src/EventSubscriber/ProtectedPagesSubscriber.php, line 35

Class

ProtectedPagesSubscriber
Redirects user to protected page login screen.

Namespace

Drupal\protected_pages\EventSubscriber

Code

protected $currentUser;