The account to use in access checks.
Type: \Drupal\Core\Session\AccountInterface;
File
- core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 37
Class
- AccessAwareRouter
- A router class for Drupal with access check and upcasting.
Namespace
Drupal\Core\Routing
Code
protected $account;
Please login to continue.