You are here

protected property SystemTestController::$currentUser in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php \Drupal\system_test\Controller\SystemTestController::currentUser
  2. 9 core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php \Drupal\system_test\Controller\SystemTestController::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

Overrides ControllerBase::$currentUser

File

core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php, line 44

Class

SystemTestController
Controller routines for system_test routes.

Namespace

Drupal\system_test\Controller

Code

protected $currentUser;