You are here

service current_user in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/core.services.yml \current_user

Class

Drupal\Core\Session\AccountProxy
47 string references to current_user
AccountSwitcherTest::testAccountSwitching in core/modules/system/src/Tests/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/src/Tests/Plugin/ArgumentDefaultTest.php
Tests the use of a default argument plugin that provides no options.
BlockContentBlock::create in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
Creates an instance of the plugin.
CancelUser::create in core/modules/user/src/Plugin/Action/CancelUser.php
Creates an instance of the plugin.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Session\AccountProxy