Search for user

  1. Search 7.x for user
  2. Search 9.5.x for user
  3. Search 8.9.x for user
  4. Search 11.x for user
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
User class core/modules/user/src/Entity/User.php Defines the user entity class.
User class core/modules/user/src/Plugin/views/argument_validator/User.php Validate whether an argument is a valid user.
User class core/modules/user/src/Plugin/views/argument_default/User.php Default argument plugin to extract a user from request.
User class core/modules/user/src/Plugin/migrate/source/d6/User.php Drupal 6 user source from database.
User class core/modules/user/src/Plugin/migrate/source/d7/User.php Drupal 7 user source from database.
User class core/modules/user/src/Plugin/migrate/User.php Plugin class for Drupal 7 user migrations dealing with fields and profiles.

All search results

Title Object type File name Summary
ModerationStateTestBase::grantUserPermissionToCreateContentOfType function core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php Grants given user permission to create content of given type.
ModerationStateWidget::$currentUser property core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php Current user service.
ModulesEnabledTrait::currentUser function core/modules/system/src/Form/ModulesEnabledTrait.php Gets the current user.
ModulesListForm::$currentUser property core/modules/system/src/Form/ModulesListForm.php The current user.
ModuleTestBase::$adminUser property core/modules/system/tests/src/Functional/Module/ModuleTestBase.php
MultipleStaticContext::$userStorage property core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php The user storage.
navigation.user_lazy_builder service core/modules/navigation/navigation.services.yml Drupal\navigation\UserLazyBuilder
NavigationBlockUiTest::$adminUser property core/modules/navigation/tests/src/FunctionalJavascript/NavigationBlockUiTest.php An administrative user to configure the test environment.
NavigationTopBarTest::$adminUser property core/modules/navigation/tests/src/Functional/NavigationTopBarTest.php An admin user to configure the test environment.
NavigationUserBlock class core/modules/navigation/src/Plugin/Block/NavigationUserBlock.php Defines a user navigation block.
NavigationUserBlock.php file core/modules/navigation/src/Plugin/Block/NavigationUserBlock.php
NavigationUserBlock::build function core/modules/navigation/src/Plugin/Block/NavigationUserBlock.php Builds and returns the renderable array for this block plugin.
NavigationUserBlockTest class core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php Tests for \Drupal\navigation\Plugin\NavigationBlock\NavigationUserBlock.
NavigationUserBlockTest.php file core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php
NavigationUserBlockTest::$adminUser property core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php User with permission to administer navigation blocks and access navigation.
NavigationUserBlockTest::$defaultTheme property core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php The theme to install as the default for testing.
NavigationUserBlockTest::$modules property core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php Modules to install.
NavigationUserBlockTest::$normalUser property core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php An authenticated user to test navigation block caching.
NavigationUserBlockTest::setUp function core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php
NavigationUserBlockTest::testNavigationUserBlock function core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php Test output of user navigation block with regards to caching and contents.
Node::defaultDisplayFiltersUser function core/modules/node/src/Plugin/views/wizard/Node.php Retrieves filter information based on user input for the default display.
NodeAccessBaseTableTest::$nodesByUser property core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php Nodes by user.
NodeAccessBaseTableTest::$webUser property core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php A web user.
NodeAccessCacheabilityTest::$usesSuperUserAccessPolicy property core/modules/node/tests/src/Functional/NodeAccessCacheabilityTest.php @todo Remove and fix test to not rely on super user.
NodeAccessFieldTest::$adminUser property core/modules/node/tests/src/Functional/NodeAccessFieldTest.php A user with permission to bypass access content.
NodeAccessFieldTest::$contentAdminUser property core/modules/node/tests/src/Functional/NodeAccessFieldTest.php A user with permission to manage content types and fields.
NodeAccessGrantsCacheContextTest::$accessUser property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php User with permission to view content.
NodeAccessGrantsCacheContextTest::$noAccessUser property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php User without permission to view content.
NodeAccessGrantsCacheContextTest::$noAccessUser2 property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php User without permission to view content.
NodeAccessGrantsCacheContextTest::$userMapping property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php
NodeAccessGrantsCacheContextTest::$usesSuperUserAccessPolicy property core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php @todo Remove and fix test to not rely on super user.
NodeAccessGrantsCacheContextTest::assertUserCacheContext function core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php Asserts that for each given user, the expected cache context is returned.
NodeAccessJoinTest::$accessUser property core/modules/node/tests/src/Functional/NodeAccessJoinTest.php A user with access to private articles.
NodeAccessJoinTest::$authorUser property core/modules/node/tests/src/Functional/NodeAccessJoinTest.php The user that will create the articles.
NodeAccessJoinTest::$otherUser property core/modules/node/tests/src/Functional/NodeAccessJoinTest.php Another user that will create articles.
NodeAccessJoinTest::$regularUser property core/modules/node/tests/src/Functional/NodeAccessJoinTest.php A user with just access content permissions.
NodeAccessLanguageAwareCombinationTest::$adminUser property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php User 1.
NodeAccessLanguageAwareCombinationTest::$usesSuperUserAccessPolicy property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php @todo Remove and fix test to not rely on super user.
NodeAccessLanguageAwareCombinationTest::$webUser property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php A normal authenticated user.
NodeAccessLanguageAwareTest::$adminUser property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php A user with permission to bypass access content.
NodeAccessLanguageAwareTest::$usesSuperUserAccessPolicy property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php @todo Remove and fix test to not rely on super user.
NodeAccessLanguageAwareTest::$webUser property core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php A normal authenticated user.
NodeAccessLanguageTest::$usesSuperUserAccessPolicy property core/modules/node/tests/src/Kernel/NodeAccessLanguageTest.php @todo Remove and fix test to not rely on super user.
NodeAccessMenuLinkTest::$contentAdminUser property core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php A user with permission to manage menu links and create nodes.
NodeAccessPagerTest::$webUser property core/modules/node/tests/src/Functional/NodeAccessPagerTest.php An user.
NodeAccessPagerTest::$webUser property core/modules/forum/tests/src/Functional/NodeAccessPagerTest.php A user account to use for the test.
NodeAccessRebuildNodeGrantsTest::$adminUser property core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php A user to test the rebuild nodes feature which can't access the nodes.
NodeAccessRebuildNodeGrantsTest::$webUser property core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php A user to create nodes that only it has access to.
NodeAdminTest::$adminUser property core/modules/node/tests/src/Functional/NodeAdminTest.php A user with permission to bypass access content.
NodeAdminTest::$baseUser1 property core/modules/node/tests/src/Functional/NodeAdminTest.php A user with the 'access content overview' permission.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.