88 files declare their use of Role
- BasicAuthTest.php in core/
modules/ basic_auth/ tests/ src/ Functional/ BasicAuthTest.php - BlockContentAccessHandlerTest.php in core/
modules/ block_content/ tests/ src/ Kernel/ BlockContentAccessHandlerTest.php - BlockTest.php in core/
modules/ block/ tests/ src/ Functional/ BlockTest.php - CacheContextOptimizationTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ CacheContextOptimizationTest.php - CKEditorIntegrationTest.php in core/
modules/ media/ tests/ src/ FunctionalJavascript/ CKEditorIntegrationTest.php - CommentAdminViewTest.php in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentAdminViewTest.php - CommentCacheTagsTest.php in core/
modules/ comment/ tests/ src/ Functional/ CommentCacheTagsTest.php - CommentFieldAccessTest.php in core/
modules/ comment/ tests/ src/ Kernel/ CommentFieldAccessTest.php - CommentUserNameTest.php in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentUserNameTest.php - CommentViewsKernelTestBase.php in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentViewsKernelTestBase.php - ConfigAccessTest.php in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ ConfigAccessTest.php - ConfigDraggableListBuilderTest.php in core/
modules/ config/ tests/ src/ Functional/ ConfigDraggableListBuilderTest.php - ConfigInstallProfileOverrideTest.php in core/
modules/ config/ tests/ src/ Functional/ ConfigInstallProfileOverrideTest.php - ContentModerationAccessTest.php in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationAccessTest.php - ContentTranslationOperationsTest.php in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationOperationsTest.php - ContextualLinksTest.php in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ ContextualLinksTest.php - DefaultViewsTest.php in core/
modules/ views_ui/ tests/ src/ Functional/ DefaultViewsTest.php - EditorPrivateFileReferenceFilterTest.php in core/
modules/ editor/ tests/ src/ Functional/ EditorPrivateFileReferenceFilterTest.php - EntityCacheTagsTestBase.php in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityCacheTagsTestBase.php - EntityCacheTagsTestBase.php in core/
modules/ system/ src/ Tests/ Entity/ EntityCacheTagsTestBase.php - EntityDisplayTest.php in core/
modules/ field_ui/ tests/ src/ Kernel/ EntityDisplayTest.php - EntityReferenceFieldTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityReferenceFieldTest.php - EntityReferenceFormatterTest.php in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceFormatterTest.php - EntityReferenceRdfaTest.php in core/
modules/ rdf/ tests/ src/ Kernel/ Field/ EntityReferenceRdfaTest.php - EntityResourceTest.php in core/
modules/ jsonapi/ tests/ src/ Kernel/ Controller/ EntityResourceTest.php - EntityUnitTestBase.php in core/
modules/ system/ src/ Tests/ Entity/ EntityUnitTestBase.php - EntityViewBuilderTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewBuilderTest.php - ExternalNormalizersTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ ExternalNormalizersTest.php - FeedCacheTagsTest.php in core/
modules/ aggregator/ tests/ src/ Functional/ FeedCacheTagsTest.php - FieldEntityLinkTest.php in core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldEntityLinkTest.php - FieldFieldAccessTestBase.php in core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldFieldAccessTestBase.php - FileItemTest.php in core/
modules/ file/ tests/ src/ Kernel/ FileItemTest.php - HandlerFilterRolesTest.php in core/
modules/ user/ tests/ src/ Kernel/ Views/ HandlerFilterRolesTest.php - ImageItemTest.php in core/
modules/ image/ tests/ src/ Kernel/ ImageItemTest.php - ItemCacheTagsTest.php in core/
modules/ aggregator/ tests/ src/ Functional/ ItemCacheTagsTest.php - JsonApiDocumentTopLevelNormalizerTest.php in core/
modules/ jsonapi/ tests/ src/ Kernel/ Normalizer/ JsonApiDocumentTopLevelNormalizerTest.php - JsonApiFunctionalMultilingualTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFunctionalMultilingualTest.php - JsonApiFunctionalTestBase.php in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFunctionalTestBase.php - JsonApiRegressionTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - LayoutBuilderPermissionsUpdatePathTest.php in core/
modules/ layout_builder/ tests/ src/ Functional/ Update/ LayoutBuilderPermissionsUpdatePathTest.php - layout_builder.post_update.php in core/
modules/ layout_builder/ layout_builder.post_update.php - Post update functions for Layout Builder.
- media.install in core/
modules/ media/ media.install - Install, uninstall and update hooks for Media module.
- MediaAccessTest.php in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - MediaCreationTest.php in core/
modules/ media/ tests/ src/ Kernel/ MediaCreationTest.php - MediaOverviewPageTest.php in core/
modules/ media/ tests/ src/ Functional/ MediaOverviewPageTest.php - MediaResourceTestBase.php in core/
modules/ media/ tests/ src/ Functional/ Rest/ MediaResourceTestBase.php - MediaRevisionTest.php in core/
modules/ media/ tests/ src/ Functional/ MediaRevisionTest.php - MediaSourceImageTest.php in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceImageTest.php - MediaSourceOEmbedVideoTest.php in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceOEmbedVideoTest.php - MediaUpdateTest.php in core/
modules/ media/ tests/ src/ Functional/ Update/ MediaUpdateTest.php - MigrateUserRoleTest.php in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserRoleTest.php - MigrateUserRoleTest.php in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUserRoleTest.php - ModerationStateTestBase.php in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateTestBase.php - node.views.inc in core/
modules/ node/ node.views.inc - Provide views data for node.module.
- NodePreviewAnonymousTest.php in core/
modules/ node/ tests/ src/ Functional/ NodePreviewAnonymousTest.php - OverriddenConfigurationTest.php in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ OverriddenConfigurationTest.php - PathElementFormTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Element/ PathElementFormTest.php - QuickEditIntegrationTest.php in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ QuickEditIntegrationTest.php - ResourceTest.php in core/
modules/ rest/ tests/ src/ Functional/ ResourceTest.php - ResourceTestBase.php in core/
modules/ rest/ tests/ src/ Functional/ ResourceTestBase.php - ResourceTestBase.php in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - RoleResourceTestBase.php in core/
modules/ user/ tests/ src/ Functional/ Rest/ RoleResourceTestBase.php - RolesRidTest.php in core/
modules/ user/ tests/ src/ Unit/ Views/ Argument/ RolesRidTest.php - RoleTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ RoleTest.php - RouteProviderTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ RouteProviderTest.php - SettingsTrayBlockFormTest.php in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ SettingsTrayBlockFormTest.php - ShortcutCacheTagsTest.php in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutCacheTagsTest.php - StandardTest.php in core/
profiles/ standard/ tests/ src/ Functional/ StandardTest.php - StatisticsLoggingTest.php in core/
modules/ statistics/ tests/ src/ FunctionalJavascript/ StatisticsLoggingTest.php - TaxonomyTermViewTest.php in core/
modules/ taxonomy/ tests/ src/ Functional/ Views/ TaxonomyTermViewTest.php - TextFormatElementFormTest.php in core/
modules/ filter/ tests/ src/ Kernel/ TextFormatElementFormTest.php - TourCacheTagsTest.php in core/
modules/ tour/ tests/ src/ Functional/ TourCacheTagsTest.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.post_update.php in core/
modules/ user/ user.post_update.php - Post update functions for User module.
- UserActionConfigSchemaTest.php in core/
modules/ user/ tests/ src/ Kernel/ UserActionConfigSchemaTest.php - UserCacheTagsTest.php in core/
modules/ user/ tests/ src/ Functional/ UserCacheTagsTest.php - UserCreationTrait.php in core/
modules/ user/ tests/ src/ Traits/ UserCreationTrait.php - UserEntityReferenceTest.php in core/
modules/ user/ tests/ src/ Kernel/ UserEntityReferenceTest.php - UserPermissionsTest.php in core/
modules/ user/ tests/ src/ Functional/ UserPermissionsTest.php - UserRoleAdminTest.php in core/
modules/ user/ tests/ src/ Functional/ UserRoleAdminTest.php - UserRoleConditionTest.php in core/
modules/ user/ tests/ src/ Kernel/ Condition/ UserRoleConditionTest.php - UserRoleEntityTest.php in core/
modules/ user/ tests/ src/ Kernel/ UserRoleEntityTest.php - UserValidationTest.php in core/
modules/ user/ tests/ src/ Kernel/ UserValidationTest.php - ValidReferenceConstraintValidatorTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ ValidReferenceConstraintValidatorTest.php - ViewsConfigDependenciesIntegrationTest.php in core/
modules/ views/ tests/ src/ Kernel/ ViewsConfigDependenciesIntegrationTest.php - WidgetAccessTest.php in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ WidgetAccessTest.php - WidgetAnonymousTest.php in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ WidgetAnonymousTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.