protected property PreviewLinkRouteEventSubscriber::$currentUser in Preview Link 2.0.x
Same name and namespace in other branches
- 2.x src/EventSubscriber/PreviewLinkRouteEventSubscriber.php \Drupal\preview_link\EventSubscriber\PreviewLinkRouteEventSubscriber::currentUser
The current user.
Type: \Drupal\Core\Session\AccountInterface
File
- src/
EventSubscriber/ PreviewLinkRouteEventSubscriber.php, line 46
Class
- PreviewLinkRouteEventSubscriber
- Modifies canonical entity routing to redirect to preview link.
Namespace
Drupal\preview_link\EventSubscriberCode
protected $currentUser;