You are here

47 string references to current_user in Zircon Profile 8

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.
CommentDefaultFormatter::create in core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php
Creates an instance of the plugin.
CommentDefaultFormatterCacheTagsTest::setUp in core/modules/comment/src/Tests/CommentDefaultFormatterCacheTagsTest.php
Performs setup tasks before each individual test method is run.
CommentForm::create in core/modules/comment/src/CommentForm.php
Instantiates a new instance of this class.
CommentLockTest::testLocks in core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
Test the lock behavior.
CommentStorage::createInstance in core/modules/comment/src/CommentStorage.php
Instantiates a new instance of this entity handler.
CommentViewBuilder::createInstance in core/modules/comment/src/CommentViewBuilder.php
Instantiates a new instance of this entity handler.
ConfigTranslationController::create in core/modules/config_translation/src/Controller/ConfigTranslationController.php
Instantiates a new instance of this class.
ContentTranslationHandler::createInstance in core/modules/content_translation/src/ContentTranslationHandler.php
Instantiates a new instance of this entity handler.
ControllerBase::currentUser in core/lib/Drupal/Core/Controller/ControllerBase.php
Returns the current user.
DbUpdateController::create in core/modules/system/src/Controller/DbUpdateController.php
Instantiates a new instance of this class.
DefaultSelection::create in core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php
Creates an instance of the plugin.
DeleteNode::create in core/modules/node/src/Plugin/Action/DeleteNode.php
Creates an instance of the plugin.
Drupal::currentUser in core/lib/Drupal.php
Gets the current active user.
DrupalKernel::initializeContainer in core/lib/Drupal/Core/DrupalKernel.php
Initializes the service container.
DrupalTest::testCurrentUser in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the currentUser() method.
FormBuilder::currentUser in core/lib/Drupal/Core/Form/FormBuilder.php
Gets the current active user.
FormBuilderTest::testFormTokenCacheability in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
@covers ::prepareForm
ForumController::create in core/modules/forum/src/Controller/ForumController.php
Instantiates a new instance of this class.
ImageFormatter::create in core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php
Creates an instance of the plugin.
LanguageServiceProvider::register in core/modules/language/src/LanguageServiceProvider.php
Registers services to the container.
LinkAccessConstraintValidator::create in core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
Instantiates a new instance of this class.
ListingEmpty::create in core/modules/block_content/src/Plugin/views/area/ListingEmpty.php
Creates an instance of the plugin.
LocaleLookupTest::setUp in core/modules/locale/tests/src/Unit/LocaleLookupTest.php
LoggerChannelFactory::get in core/lib/Drupal/Core/Logger/LoggerChannelFactory.php
Retrieves the registered logger for the requested channel.
LoginLogoutMenuLink::create in core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php
Creates an instance of the plugin.
ModulesListForm::create in core/modules/system/src/Form/ModulesListForm.php
Instantiates a new instance of this class.
NodeSearch::create in core/modules/node/src/Plugin/Search/NodeSearch.php
Creates an instance of the plugin.
ProtectedUserFieldConstraintValidator::create in core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php
Instantiates a new instance of this class.
ResponsiveImageFormatter::create in core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php
Creates an instance of the plugin.
SystemTestController::create in core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php
Instantiates a new instance of this class.
TokenTest::setUp in core/tests/Drupal/Tests/Core/Utility/TokenTest.php
TokenTest::testReplaceWithBubbleableMetadataObject in core/tests/Drupal/Tests/Core/Utility/TokenTest.php
@covers ::replace
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata in core/tests/Drupal/Tests/Core/Utility/TokenTest.php
@covers ::replace @covers ::replace
TokenTest::testReplaceWithHookTokensWithBubbleableMetadata in core/tests/Drupal/Tests/Core/Utility/TokenTest.php
@covers ::replace
UpdateKernel::handleAccess in core/lib/Drupal/Core/Update/UpdateKernel.php
Checks if the current user has rights to access updates page.
UrlTest::testRenderAccess in core/tests/Drupal/Tests/Core/UrlTest.php
Tests the renderAccess() method.
UserSearch::create in core/modules/user/src/Plugin/Search/UserSearch.php
Creates an instance of the plugin.
UserSelection::create in core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php
Creates an instance of the plugin.
views.view.test_plugin_argument_default_current_user.yml in core/modules/user/tests/modules/user_test_views/test_views/views.view.test_plugin_argument_default_current_user.yml
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_plugin_argument_default_current_user.yml
ViewsBlockBase::create in core/modules/views/src/Plugin/Block/ViewsBlockBase.php
Creates an instance of the plugin.
ViewsSelection::create in core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php
Creates an instance of the plugin.
ViewUIObjectTest::testIsLocked in core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php
Tests the isLocked method.