You are here

156 files declare their use of User in Drupal 10

AccessTest.php in core/modules/file/tests/src/Kernel/AccessTest.php
AssignOwnerNode.php in core/modules/node/src/Plugin/Action/AssignOwnerNode.php
BlockContentAccessHandlerTest.php in core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php
BulkFormAccessTest.php in core/modules/user/tests/src/Functional/Views/BulkFormAccessTest.php
BulkFormTest.php in core/modules/user/tests/src/Functional/Views/BulkFormTest.php
BundleClassTest.php in core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php
Comment.php in core/modules/comment/src/Entity/Comment.php
CommentAdminViewTest.php in core/modules/comment/tests/src/Kernel/Views/CommentAdminViewTest.php
CommentAttributesTest.php in core/modules/rdf/tests/src/Functional/CommentAttributesTest.php
CommentResourceTestBase.php in core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
CommentTest.php in core/modules/jsonapi/tests/src/Functional/CommentTest.php
CommentTokenReplaceTest.php in core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php
CommentUserNameTest.php in core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
CommentValidationTest.php in core/modules/comment/tests/src/Kernel/CommentValidationTest.php
CommentViewsFieldAccessTest.php in core/modules/comment/tests/src/Kernel/Views/CommentViewsFieldAccessTest.php
ConditionTestDualUserTest.php in core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php
contact.module in core/modules/contact/contact.module
Enables the use of personal and site-wide contact forms.
ContactLinkTest.php in core/modules/contact/tests/src/Functional/Views/ContactLinkTest.php
ContentEntityHasChangesTest.php in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php
ContentEntityTest.php in core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php
ContentTranslationFieldSyncRevisionTest.php in core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php
ContentTranslationHandler.php in core/modules/content_translation/src/ContentTranslationHandler.php
ContextPluginTest.php in core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php
CurrentUserContextTest.php in core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php
DatabaseTestForm.php in core/modules/system/tests/modules/database_test/src/Form/DatabaseTestForm.php
DbDumpTest.php in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
DbLogController.php in core/modules/dblog/src/Controller/DbLogController.php
DbLogFormInjectionTest.php in core/modules/dblog/tests/src/Kernel/DbLogFormInjectionTest.php
delay_cache_tags_invalidation.module in core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.module
Functions to test delayed cache tags invalidation.
DeleteActionTest.php in core/tests/Drupal/KernelTests/Core/Action/DeleteActionTest.php
demo_umami.install in core/profiles/demo_umami/demo_umami.install
Install, update and uninstall functions for the demo_umami installation profile.
DrupalDateTimeTest.php in core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php
DynamicPageCacheTestController.php in core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/src/DynamicPageCacheTestController.php
EndOfTransactionQueriesTest.php in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
EntityAccessControlHandlerTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
EntityAutocompleteElementFormTest.php in core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
EntityContentBaseTest.php in core/modules/migrate_drupal/tests/src/Kernel/d6/EntityContentBaseTest.php
EntityCrudHookTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
EntityDecoupledTranslationRevisionsTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php
EntityExistsTest.php in core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php
EntityReferenceFieldTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
EntityReferenceItemTest.php in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
EntityReferenceSelectionAccessTest.php in core/modules/system/tests/src/Functional/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
EntityResourceValidationTraitTest.php in core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php
EntityTestComputedFieldTest.php in core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php
EntityTestLabelResourceTestBase.php in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php
EntityTestMapFieldResourceTestBase.php in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php
EntityTestMapFieldTest.php in core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php
EntityTestTest.php in core/modules/jsonapi/tests/src/Functional/EntityTestTest.php
EntityTestUserClass.php in core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestUserClass.php
ExternalFormUrlTest.php in core/tests/Drupal/KernelTests/Core/Form/ExternalFormUrlTest.php
FieldAccessTest.php in core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php
FieldEntityTest.php in core/modules/views/tests/src/Functional/Entity/FieldEntityTest.php
FieldFieldAccessTestBase.php in core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php
FieldFieldTest.php in core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php
FieldRenderedEntityTest.php in core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php
FileFieldWidgetTest.php in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
FileItemValidationTest.php in core/modules/file/tests/src/Kernel/FileItemValidationTest.php
FileManagedAccessTest.php in core/modules/file/tests/src/Kernel/FileManagedAccessTest.php
FileManagedUnitTestBase.php in core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
FileResourceTestBase.php in core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php
FileTest.php in core/modules/jsonapi/tests/src/Functional/FileTest.php
FileUploadResourceTestBase.php in core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php
FileUploadTest.php in core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
FileViewsFieldAccessTest.php in core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php
FollowUpMigrationsTest.php in core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php
FormActionXssTest.php in core/tests/Drupal/KernelTests/Core/Form/FormActionXssTest.php
forum.module in core/modules/forum/forum.module
Provides discussion forums.
HandlerArgumentUserUidTest.php in core/modules/user/tests/src/Kernel/Views/HandlerArgumentUserUidTest.php
HandlerFieldRoleTest.php in core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php
HistoryTimestampTest.php in core/modules/history/tests/src/Kernel/Views/HistoryTimestampTest.php
install.core.inc in core/includes/install.core.inc
API functions for installing Drupal.
InstallerTranslationTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationTest.php
JsonApiRegressionTest.php in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
MediaCreationTest.php in core/modules/media/tests/src/Kernel/MediaCreationTest.php
MediaKernelTestBase.php in core/modules/media/tests/src/Kernel/MediaKernelTestBase.php
MediaResourceTestBase.php in core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
MediaTest.php in core/modules/jsonapi/tests/src/Functional/MediaTest.php
MenuLinkContentCacheabilityBubblingTest.php in core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php
MenuLinksTest.php in core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php
MigrateEntityContentValidationTest.php in core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php
MigrateNodeTestBase.php in core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTestBase.php
MigrateShortcutSetUsersTest.php in core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetUsersTest.php
MigrateUpgradeTestBase.php in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
MigrateUserAdminPassTest.php in core/modules/user/tests/src/Kernel/Migrate/MigrateUserAdminPassTest.php
MigrateUserProfileValuesTest.php in core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserProfileValuesTest.php
MigrateUserTest.php in core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserTest.php
MigrateUserTest.php in core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php
Name.php in core/modules/user/src/Plugin/views/filter/Name.php
node.tokens.inc in core/modules/node/node.tokens.inc
Builds placeholder replacement tokens for node-related data.
NodeAccessLanguageAwareCombinationTest.php in core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php
NodeAccessLanguageAwareTest.php in core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php
NodeAccessLanguageTest.php in core/modules/node/tests/src/Kernel/NodeAccessLanguageTest.php
NodeActionsConfigurationTest.php in core/modules/node/tests/src/Functional/NodeActionsConfigurationTest.php
NodeContextualLinksTest.php in core/modules/node/tests/src/Functional/Views/NodeContextualLinksTest.php
NodeCreationTrait.php in core/modules/node/tests/src/Traits/NodeCreationTrait.php
NodeEditFormTest.php in core/modules/node/tests/src/Functional/NodeEditFormTest.php
NodeOwnerTest.php in core/modules/node/tests/src/Kernel/NodeOwnerTest.php
NodeResourceTestBase.php in core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php
NodeTest.php in core/modules/jsonapi/tests/src/Functional/NodeTest.php
NodeViewBuilderTest.php in core/modules/node/tests/src/Kernel/NodeViewBuilderTest.php
NodeViewsFieldAccessTest.php in core/modules/node/tests/src/Kernel/Views/NodeViewsFieldAccessTest.php
PathElementFormTest.php in core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php
PathProcessorTest.php in core/modules/system/tests/modules/url_alter_test/src/PathProcessorTest.php
ProtectedUserFieldConstraintValidatorTest.php in core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php
RelationshipJoinTestBase.php in core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinTestBase.php
RelationshipUserImageDataTest.php in core/modules/image/tests/src/Kernel/Views/RelationshipUserImageDataTest.php
ResourceObjectNormalizerCacherTest.php in core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
RevisionableContentEntityBaseTest.php in core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php
SelectComplexTest.php in core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
ServerCommand.php in core/lib/Drupal/Core/Command/ServerCommand.php
ShortcutSetUsers.php in core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php
standard.install in core/profiles/standard/standard.install
Install, update and uninstall functions for the standard installation profile.
SystemMenuBlockTest.php in core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
TaxonomyFieldVidTest.php in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyFieldVidTest.php
TemporaryJsonapiFileFieldUploaderTest.php in core/modules/jsonapi/tests/src/Kernel/Controller/TemporaryJsonapiFileFieldUploaderTest.php
TextFormatElementFormTest.php in core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
TimeZoneItem.php in core/modules/user/src/TimeZoneItem.php
token.api.php in core/lib/Drupal/Core/Utility/token.api.php
Hooks related to the Token system.
TranslationLinkTest.php in core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
UpdatePathTestBase.php in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
UpdatePathTestBaseFilledTest.php in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php
Upgrade7Test.php in core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php
UrlIntegrationTest.php in core/tests/Drupal/KernelTests/Core/Routing/UrlIntegrationTest.php
user.module in core/modules/user/user.module
Enables the user registration and login system.
user.tokens.inc in core/modules/user/user.tokens.inc
Builds placeholder replacement tokens for user-related data.
UserAccountFormPasswordResetTest.php in core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php
UserAdminListingTest.php in core/modules/user/tests/src/Functional/UserAdminListingTest.php
UserCacheTagsTest.php in core/modules/user/tests/src/Functional/UserCacheTagsTest.php
UserCancelTest.php in core/modules/user/tests/src/Functional/UserCancelTest.php
UserCreationTrait.php in core/modules/user/tests/src/Traits/UserCreationTrait.php
UserDataTest.php in core/modules/user/tests/src/Kernel/Views/UserDataTest.php
UserDeleteTest.php in core/modules/user/tests/src/Kernel/UserDeleteTest.php
UserEntityLabelTest.php in core/modules/user/tests/src/Kernel/UserEntityLabelTest.php
UserEntityTest.php in core/modules/user/tests/src/Kernel/UserEntityTest.php
UserFieldsTest.php in core/modules/user/tests/src/Kernel/UserFieldsTest.php
UserLoginTest.php in core/modules/user/tests/src/Functional/UserLoginTest.php
UserNameFormatterTest.php in core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php
UserPasswordResetTest.php in core/modules/user/tests/src/Functional/UserPasswordResetTest.php
UserPasswordResetTest.php in core/modules/user/tests/src/FunctionalJavascript/UserPasswordResetTest.php
UserRegistrationResourceTest.php in core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php
UserResourceTestBase.php in core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
UserRoleConditionTest.php in core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php
UserRoleDeleteTest.php in core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php
UserSaveStatusTest.php in core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
UserSaveTest.php in core/modules/user/tests/src/Kernel/UserSaveTest.php
UserTest.php in core/modules/jsonapi/tests/src/Functional/UserTest.php
UserTestBase.php in core/modules/user/tests/src/Functional/Views/UserTestBase.php
UserTokenReplaceTest.php in core/modules/user/tests/src/Functional/UserTokenReplaceTest.php
UserValidationTest.php in core/modules/user/tests/src/Kernel/UserValidationTest.php
UserViewsFieldAccessTest.php in core/modules/user/tests/src/Kernel/Views/UserViewsFieldAccessTest.php
user_access_test.module in core/modules/user/tests/modules/user_access_test/user_access_test.module
Dummy module implementing hook_user_access() to test if entity access is respected.
ValidReferenceConstraintValidatorTest.php in core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php
VersionNegotiatorTest.php in core/modules/jsonapi/tests/src/Kernel/Revisions/VersionNegotiatorTest.php
WhosOnlineBlockTest.php in core/modules/user/tests/src/Kernel/WhosOnlineBlockTest.php
WorkspaceResourceTestBase.php in core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php