128 files declare their use of RoleInterface
- AccessDeniedTest.php in core/
modules/ system/ tests/ src/ Functional/ System/ AccessDeniedTest.php - AccountProxyTest.php in core/
tests/ Drupal/ Tests/ Core/ Session/ AccountProxyTest.php - ActionResourceTestBase.php in core/
modules/ action/ tests/ src/ Functional/ Rest/ ActionResourceTestBase.php - ActionResourceTestBase.php in core/
modules/ system/ tests/ src/ Functional/ Rest/ ActionResourceTestBase.php - ActionTest.php in core/
modules/ action/ tests/ src/ Functional/ Jsonapi/ ActionTest.php - ActionTest.php in core/
modules/ system/ tests/ src/ Kernel/ Action/ ActionTest.php - ActionTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ ActionTest.php - AddedStylesheetsTest.php in core/
modules/ ckeditor5/ tests/ src/ Functional/ AddedStylesheetsTest.php - AnonymousUserSessionTest.php in core/
tests/ Drupal/ Tests/ Core/ Session/ AnonymousUserSessionTest.php - BlockTest.php in core/
modules/ block/ tests/ src/ Functional/ BlockTest.php - BookTest.php in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - BreadcrumbTest.php in core/
modules/ system/ tests/ src/ Functional/ Menu/ BreadcrumbTest.php - BulkFormTest.php in core/
modules/ user/ tests/ src/ Functional/ Views/ BulkFormTest.php - ChangeUserRoleBase.php in core/
modules/ user/ src/ Plugin/ Action/ ChangeUserRoleBase.php - CKEditor5DialogTest.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5DialogTest.php - CKEditor5FragmentLinkTest.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5FragmentLinkTest.php - CKEditor5MarkupTest.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5MarkupTest.php - CKEditor5Test.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5Test.php - CKEditor5TestBase.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5TestBase.php - comment.module in core/
modules/ comment/ comment.module - Enables users to comment on published content.
- CommentAdminTest.php in core/
modules/ comment/ tests/ src/ Functional/ CommentAdminTest.php - CommentAdminTest.php in core/
modules/ comment/ tests/ src/ Functional/ Views/ CommentAdminTest.php - CommentAnonymousTest.php in core/
modules/ comment/ tests/ src/ Functional/ CommentAnonymousTest.php - CommentBlockTest.php in core/
modules/ comment/ tests/ src/ Functional/ CommentBlockTest.php - CommentCacheTagsTest.php in core/
modules/ comment/ tests/ src/ Functional/ CommentCacheTagsTest.php - CommentCSSTest.php in core/
modules/ comment/ tests/ src/ Functional/ CommentCSSTest.php - CommentDisplayConfigurableTest.php in core/
modules/ comment/ tests/ src/ Functional/ CommentDisplayConfigurableTest.php - CommentFieldAccessTest.php in core/
modules/ comment/ tests/ src/ Kernel/ CommentFieldAccessTest.php - CommentInterfaceTest.php in core/
modules/ comment/ tests/ src/ Functional/ CommentInterfaceTest.php - CommentLinksTest.php in core/
modules/ comment/ tests/ src/ Functional/ CommentLinksTest.php - CommentManager.php in core/
modules/ comment/ src/ CommentManager.php - CommentNonNodeTest.php in core/
modules/ comment/ tests/ src/ Functional/ CommentNonNodeTest.php - ContactPersonalTest.php in core/
modules/ contact/ tests/ src/ Functional/ ContactPersonalTest.php - ContactSitewideTest.php in core/
modules/ contact/ tests/ src/ Functional/ ContactSitewideTest.php - ContactStorageTest.php in core/
modules/ contact/ tests/ src/ Functional/ ContactStorageTest.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 - EntityReferenceFieldTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityReferenceFieldTest.php - EntityReferenceFormatterTest.php in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceFormatterTest.php - EntityReferenceWidgetTest.php in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ EntityReferenceWidgetTest.php - EntityResourceTest.php in core/
modules/ jsonapi/ tests/ src/ Kernel/ Controller/ EntityResourceTest.php - EntityViewBuilderTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewBuilderTest.php - ExternalNormalizersTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ ExternalNormalizersTest.php - FileFieldAnonymousSubmissionTest.php in core/
modules/ file/ tests/ src/ Functional/ FileFieldAnonymousSubmissionTest.php - FileFieldWidgetTest.php in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - FilePrivateTest.php in core/
modules/ file/ tests/ src/ Functional/ FilePrivateTest.php - filter.module in core/
modules/ filter/ filter.module - FilterAdminTest.php in core/
modules/ filter/ tests/ src/ Functional/ FilterAdminTest.php - FilterDefaultConfigTest.php in core/
modules/ filter/ tests/ src/ Kernel/ FilterDefaultConfigTest.php - FilterFormatAccessTest.php in core/
modules/ filter/ tests/ src/ Functional/ FilterFormatAccessTest.php - FilterFormatFormBase.php in core/
modules/ filter/ src/ FilterFormatFormBase.php - FilterHooksTest.php in core/
modules/ filter/ tests/ src/ Functional/ FilterHooksTest.php - FilterPluginBase.php in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - FilterSecurityTest.php in core/
modules/ filter/ tests/ src/ Functional/ FilterSecurityTest.php - FormErrorHandlerCKEditor5Test.php in core/
modules/ inline_form_errors/ tests/ src/ FunctionalJavascript/ FormErrorHandlerCKEditor5Test.php - FormTest.php in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - ImageFieldDisplayTest.php in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDisplayTest.php - ImageUploadTest.php in core/
modules/ ckeditor5/ tests/ src/ Functional/ ImageUploadTest.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 - LegacyUserTest.php in core/
modules/ user/ tests/ src/ Kernel/ LegacyUserTest.php - 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 - MediaEntityMetadataApiTest.php in core/
modules/ ckeditor5/ tests/ src/ Functional/ MediaEntityMetadataApiTest.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 - MediaTest.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ MediaTest.php - MigrateEntityContentValidationTest.php in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateEntityContentValidationTest.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 - 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 - navigation.post_update.php in core/
modules/ navigation/ navigation.post_update.php - Post update functions for the Navigation module.
- node.install in core/
modules/ node/ node.install - Install, update and uninstall functions for the node module.
- node.views.inc in core/
modules/ node/ node.views.inc - Provide views data for node.module.
- NodeAccessMenuLinkTest.php in core/
modules/ node/ tests/ src/ Functional/ NodeAccessMenuLinkTest.php - NodeAccessTestBase.php in core/
modules/ node/ tests/ src/ Kernel/ NodeAccessTestBase.php - NodeAdminTest.php in core/
modules/ node/ tests/ src/ Functional/ NodeAdminTest.php - NodeBlockFunctionalTest.php in core/
modules/ node/ tests/ src/ Functional/ NodeBlockFunctionalTest.php - NodeTranslationUITest.php in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - NodeViewsHooks.php in core/
modules/ node/ src/ Hook/ NodeViewsHooks.php - PageCacheTagsIntegrationTest.php in core/
modules/ page_cache/ tests/ src/ Functional/ PageCacheTagsIntegrationTest.php - PageCacheTest.php in core/
modules/ page_cache/ tests/ src/ Functional/ PageCacheTest.php - PageNotFoundTest.php in core/
modules/ system/ tests/ src/ Functional/ System/ PageNotFoundTest.php - PagePreviewTest.php in core/
modules/ node/ tests/ src/ Functional/ PagePreviewTest.php - Permissions.php in core/
modules/ user/ src/ Plugin/ views/ filter/ Permissions.php - PermissionsPerBundle.php in core/
lib/ Drupal/ Core/ Config/ Action/ Plugin/ ConfigAction/ PermissionsPerBundle.php - PermissionsPerBundleTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Recipe/ PermissionsPerBundleTest.php - ResourceTest.php in core/
modules/ rest/ tests/ src/ Functional/ ResourceTest.php - ResourceTestBase.php in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - ResourceTestBase.php in core/
modules/ rest/ tests/ src/ Functional/ ResourceTestBase.php - ResponsiveImageFieldDisplayTest.php in core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php - Role.php in core/
modules/ user/ src/ Entity/ Role.php - Role.php in core/
modules/ user/ src/ Plugin/ views/ access/ Role.php - Roles.php in core/
modules/ user/ src/ Plugin/ views/ filter/ Roles.php - RoleSettingsForm.php in core/
modules/ user/ src/ Form/ RoleSettingsForm.php - RouteProviderTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ RouteProviderTest.php - SearchCommentTest.php in core/
modules/ search/ tests/ src/ Functional/ SearchCommentTest.php - ShortcutCacheTagsTest.php in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutCacheTagsTest.php - StandardRecipeTest.php in core/
tests/ Drupal/ FunctionalTests/ Core/ Recipe/ StandardRecipeTest.php - TaxonomyTermViewTest.php in core/
modules/ taxonomy/ tests/ src/ Functional/ Views/ TaxonomyTermViewTest.php - ToolbarAdminMenuTest.php in core/
modules/ toolbar/ tests/ src/ Functional/ ToolbarAdminMenuTest.php - TourCacheTagsTest.php in core/
modules/ tour/ tests/ src/ Functional/ TourCacheTagsTest.php - UninstallTest.php in core/
modules/ system/ tests/ src/ Functional/ Module/ UninstallTest.php - user.module in core/
modules/ user/ user.module - Enables the user registration and login system.
- User.php in core/
modules/ user/ src/ Entity/ User.php - User.php in core/
modules/ user/ src/ Plugin/ views/ argument_validator/ User.php - UserAdminTest.php in core/
modules/ user/ tests/ src/ Functional/ UserAdminTest.php - UserCacheTagsTest.php in core/
modules/ user/ tests/ src/ Functional/ UserCacheTagsTest.php - UserCreationTrait.php in core/
modules/ user/ tests/ src/ Traits/ UserCreationTrait.php - UserEntityTest.php in core/
modules/ user/ tests/ src/ Kernel/ UserEntityTest.php - UserPermissionsRoleSpecificForm.php in core/
modules/ user/ src/ Form/ UserPermissionsRoleSpecificForm.php - UserPermissionsTest.php in core/
modules/ user/ tests/ src/ FunctionalJavascript/ UserPermissionsTest.php - UserPermissionsTest.php in core/
modules/ user/ tests/ src/ Functional/ UserPermissionsTest.php - UserRole.php in core/
modules/ user/ src/ Plugin/ Condition/ UserRole.php - UserRoleAdminTest.php in core/
modules/ user/ tests/ src/ Functional/ UserRoleAdminTest.php - UserRoleConditionTest.php in core/
modules/ user/ tests/ src/ Kernel/ Condition/ UserRoleConditionTest.php - UserRolesAccessPolicyTest.php in core/
tests/ Drupal/ Tests/ Core/ Session/ UserRolesAccessPolicyTest.php - UserSelection.php in core/
modules/ user/ src/ Plugin/ EntityReferenceSelection/ UserSelection.php - UserSessionTest.php in core/
tests/ Drupal/ Tests/ Core/ Session/ UserSessionTest.php - UserTest.php in core/
modules/ user/ tests/ src/ Unit/ Plugin/ Core/ Entity/ UserTest.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.