SystemTestController::$currentUser
Same name in other branches
- 9 core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php \Drupal\system_test\Controller\SystemTestController::currentUser
- 8.9.x core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php \Drupal\system_test\Controller\SystemTestController::currentUser
- 11.x 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 48
Class
- SystemTestController
- Controller routines for system_test routes.
Namespace
Drupal\system_test\ControllerCode
protected $currentUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.