Same name and namespace in other branches
- 8.9.x core/core.services.yml \current_user
- 9 core/core.services.yml \current_user
Class
Drupal\Core\Session\AccountProxy85 string references to current_user
- AccountSwitcherTest::testAccountSwitching in core/
tests/ Drupal/ KernelTests/ Core/ Session/ AccountSwitcherTest.php - AllowedValuesConstraintValidator::create in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ AllowedValuesConstraintValidator.php - Instantiates a new instance of this class.
- ArgumentDefaultTest::testArgumentDefaultNoOptions in core/
modules/ views/ tests/ src/ Functional/ Plugin/ ArgumentDefaultTest.php - Tests the use of a default argument plugin that provides no options.
- BlockManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Block/ BlockManagerTest.php - ChooseBlockController::create in core/
modules/ layout_builder/ src/ Controller/ ChooseBlockController.php - Instantiates a new instance of this class.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Session\AccountProxy
- arguments:
- - '@event_dispatcher'