You are here

201 files declare their use of AccessResult in Drupal 9

AccessAwareRouterTest.php in core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php
AccessCheck.php in core/modules/system/tests/modules/menu_test/src/Access/AccessCheck.php
AccessGroupAnd.php in core/modules/block_content/src/Access/AccessGroupAnd.php
AccessGroupAndTest.php in core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php
AccessManagerTest.php in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
Contains \Drupal\Tests\Core\Access\AccessManagerTest.
AccessResultTest.php in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
Contains \Drupal\Tests\Core\Access\AccessResultTest.
ActionAjaxTest.php in core/modules/action/tests/action_form_ajax_test/src/Plugin/Action/ActionAjaxTest.php
ActiveWorkspaceCheck.php in core/modules/workspaces/src/Access/ActiveWorkspaceCheck.php
ActiveWorkspaceCheckTest.php in core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php
AggregatorFeedBlock.php in core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.php
BaseFieldOverrideAccessControlHandler.php in core/lib/Drupal/Core/Field/BaseFieldOverrideAccessControlHandler.php
block.api.php in core/modules/block/block.api.php
Hooks provided by the Block module.
BlockAccessControlHandler.php in core/modules/block/src/BlockAccessControlHandler.php
BlockComponentRenderArray.php in core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php
BlockComponentRenderArrayTest.php in core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockContentAccessControlHandler.php in core/modules/block_content/src/BlockContentAccessControlHandler.php
BlockContentAccessHandlerTest.php in core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php
BlockContentBlock.php in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
BlockHasOverridesAccessCheck.php in core/modules/settings_tray/src/Access/BlockHasOverridesAccessCheck.php
BlockPluginHasSettingsTrayFormAccessCheck.php in core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php
BlockPluginTrait.php in core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockRepositoryTest.php in core/modules/block/tests/src/Unit/BlockRepositoryTest.php
Contains \Drupal\Tests\block\Unit\BlockRepositoryTest.
BookNodeIsRemovableAccessCheck.php in core/modules/book/src/Access/BookNodeIsRemovableAccessCheck.php
ChangedFieldItemList.php in core/lib/Drupal/Core/Field/ChangedFieldItemList.php
CommentAccessControlHandler.php in core/modules/comment/src/CommentAccessControlHandler.php
CommentController.php in core/modules/comment/src/Controller/CommentController.php
CommentFieldItemList.php in core/modules/comment/src/CommentFieldItemList.php
ConfigTestAccessControlHandler.php in core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php
ConfigTranslationFormAccess.php in core/modules/config_translation/src/Access/ConfigTranslationFormAccess.php
ConfigTranslationOverviewAccess.php in core/modules/config_translation/src/Access/ConfigTranslationOverviewAccess.php
config_test_rest.module in core/modules/rest/tests/modules/config_test_rest/config_test_rest.module
Contains hook implementations for testing REST module.
ContactFormAccessControlHandler.php in core/modules/contact/src/ContactFormAccessControlHandler.php
ContactMessageAccessControlHandler.php in core/modules/contact/src/ContactMessageAccessControlHandler.php
ContactPageAccess.php in core/modules/contact/src/Access/ContactPageAccess.php
ContentEntityBaseUnitTest.php in core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
ContentModerationStateAccessControlHandler.php in core/modules/content_moderation/src/ContentModerationStateAccessControlHandler.php
ContentTranslationDeleteAccess.php in core/modules/content_translation/src/Access/ContentTranslationDeleteAccess.php
ContentTranslationHandler.php in core/modules/content_translation/src/ContentTranslationHandler.php
ContentTranslationManageAccessCheck.php in core/modules/content_translation/src/Access/ContentTranslationManageAccessCheck.php
ContentTranslationManageAccessCheckTest.php in core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php
ContentTranslationOverviewAccess.php in core/modules/content_translation/src/Access/ContentTranslationOverviewAccess.php
content_moderation.module in core/modules/content_moderation/content_moderation.module
Contains content_moderation.module.
content_translation.module in core/modules/content_translation/content_translation.module
Allows entities to be translated into different languages.
content_translation_test.module in core/modules/content_translation/tests/modules/content_translation_test/content_translation_test.module
Helper module for the Content Translation tests.
CronAccessCheck.php in core/modules/system/src/Access/CronAccessCheck.php
CsrfAccessCheckTest.php in core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php
CustomPageExceptionHtmlSubscriberTest.php in core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php
DateFormatAccessControlHandler.php in core/modules/system/src/DateFormatAccessControlHandler.php
DateFormatAccessControlHandlerTest.php in core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php
DbUpdateAccessCheck.php in core/modules/system/src/Access/DbUpdateAccessCheck.php
DefaultAccessCheckTest.php in core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php
DefaultMenuLinkTreeManipulators.php in core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php
DefaultsSectionStorage.php in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
DefinedTestAccessCheck.php in core/modules/system/tests/modules/router_test_directory/src/Access/DefinedTestAccessCheck.php
DependentAccessTest.php in core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php
ElementTest.php in core/tests/Drupal/Tests/Core/Render/ElementTest.php
EmailAction.php in core/lib/Drupal/Core/Action/Plugin/Action/EmailAction.php
entity.api.php in core/lib/Drupal/Core/Entity/entity.api.php
Hooks and documentation related to entities.
EntityAccess.php in core/modules/workspaces/src/EntityAccess.php
EntityAccessCheck.php in core/lib/Drupal/Core/Entity/EntityAccessCheck.php
EntityAccessChecker.php in core/modules/jsonapi/src/Access/EntityAccessChecker.php
EntityAccessCheckTest.php in core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php
EntityAccessControlHandler.php in core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
EntityBundleAccessCheck.php in core/lib/Drupal/Core/Entity/EntityBundleAccessCheck.php
EntityBundleAccessCheckTest.php in core/tests/Drupal/Tests/Core/Entity/EntityBundleAccessCheckTest.php
EntityCreateAccessCheck.php in core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php
EntityCreateAccessCheckTest.php in core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php
EntityCreateAnyAccessCheck.php in core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php
EntityDeleteMultipleAccessCheck.php in core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php
EntityFormDisplayAccessControlHandler.php in core/lib/Drupal/Core/Entity/Entity/Access/EntityFormDisplayAccessControlHandler.php
EntityListBuilderTest.php in core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
Contains \Drupal\Tests\Core\Entity\EntityListBuilderTest.
EntityTestAccessControlHandler.php in core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php
EntityUnitTest.php in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityViewDisplayAccessControlHandler.php in core/lib/Drupal/Core/Entity/Entity/Access/EntityViewDisplayAccessControlHandler.php
entity_serialization_test.module in core/modules/serialization/tests/modules/entity_serialization_test/entity_serialization_test.module
Test support module for entity serialization tests.
entity_test.module in core/modules/system/tests/modules/entity_test/entity_test.module
Test module for the entity API providing several entity types for testing.
FeedAccessControlHandler.php in core/modules/aggregator/src/FeedAccessControlHandler.php
FieldAccessTest.php in core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php
FieldBlock.php in core/modules/layout_builder/src/Plugin/Block/FieldBlock.php
FieldBlockTest.php in core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php
FieldItemList.php in core/lib/Drupal/Core/Field/FieldItemList.php
FieldResolver.php in core/modules/jsonapi/src/Context/FieldResolver.php
FieldStorageConfigAccessControlHandler.php in core/modules/field/src/FieldStorageConfigAccessControlHandler.php
field_test.field.inc in core/modules/field/tests/modules/field_test/field_test.field.inc
Defines a field type and its formatters and widgets.
field_test_boolean_access_denied.module in core/modules/field/tests/modules/field_test_boolean_access_denied/field_test_boolean_access_denied.module
Module for testing denying access to boolean fields.
field_ui_test.module in core/modules/field_ui/tests/modules/field_ui_test/field_ui_test.module
Field UI test module.
FileAccessControlHandler.php in core/modules/file/src/FileAccessControlHandler.php
FileFormatterBase.php in core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php
FilterFormatAccessControlHandler.php in core/modules/filter/src/FilterFormatAccessControlHandler.php
FilterFormatAccessTest.php in core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php
FormBuilderTest.php in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Contains \Drupal\Tests\Core\Form\FormBuilderTest.
FormModeAccessCheck.php in core/modules/field_ui/src/Access/FormModeAccessCheck.php
ForumBlockBase.php in core/modules/forum/src/Plugin/Block/ForumBlockBase.php
GotoAction.php in core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php
HelpSearch.php in core/modules/help_topics/src/Plugin/Search/HelpSearch.php
image_access_test_hidden.module in core/modules/image/tests/modules/image_access_test_hidden/image_access_test_hidden.module
Image field access for hidden fields.
IncludeResolver.php in core/modules/jsonapi/src/IncludeResolver.php
InlineBlock.php in core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
jsonapi.api.php in core/modules/jsonapi/jsonapi.api.php
Documentation related to JSON:API.
jsonapi.module in core/modules/jsonapi/jsonapi.module
Module implementation file.
jsonapi_test_field_access.module in core/modules/jsonapi/tests/modules/jsonapi_test_field_access/jsonapi_test_field_access.module
Contains hook implementations for testing the JSON:API module.
jsonapi_test_field_filter_access.module in core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/jsonapi_test_field_filter_access.module
Contains hook implementations for testing the JSON:API module.
language.module in core/modules/language/language.module
Add language handling functionality to Drupal.
LanguageAccessControlHandler.php in core/modules/language/src/LanguageAccessControlHandler.php
LanguageBlock.php in core/modules/language/src/Plugin/Block/LanguageBlock.php
language_entity_field_access_test.module in core/modules/language/tests/language_entity_field_access_test/language_entity_field_access_test.module
Hook implementations for language_entity_field_access_test.
LatestRevisionCheck.php in core/modules/content_moderation/src/Access/LatestRevisionCheck.php
LayoutBuilderAccessCheck.php in core/modules/layout_builder/src/Access/LayoutBuilderAccessCheck.php
LayoutPreviewAccessAllowed.php in core/modules/layout_builder/src/Access/LayoutPreviewAccessAllowed.php
LayoutSectionItemList.php in core/modules/layout_builder/src/Field/LayoutSectionItemList.php
layout_builder.module in core/modules/layout_builder/layout_builder.module
Provides hook implementations for Layout Builder.
LocalActionManagerTest.php in core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
Contains \Drupal\Tests\Core\Menu\LocalActionManagerTest.
LoginStatusCheck.php in core/modules/user/src/Access/LoginStatusCheck.php
media.module in core/modules/media/media.module
Provides media items.
MediaAccessControlHandler.php in core/modules/media/src/MediaAccessControlHandler.php
MediaAccessControlHandlerTest.php in core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php
MediaFilterController.php in core/modules/media/src/Controller/MediaFilterController.php
MediaLibraryAccessTest.php in core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php
MediaLibraryEditorOpener.php in core/modules/media_library/src/MediaLibraryEditorOpener.php
MediaLibraryFieldWidgetOpener.php in core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php
MediaLibraryUiBuilder.php in core/modules/media_library/src/MediaLibraryUiBuilder.php
MediaRevisionAccessCheck.php in core/modules/media/src/Access/MediaRevisionAccessCheck.php
MediaTypeAccessControlHandler.php in core/modules/media/src/MediaTypeAccessControlHandler.php
media_library.module in core/modules/media_library/media_library.module
Contains hook implementations for the media_library module.
media_library_test.module in core/modules/media_library/tests/modules/media_library_test/media_library_test.module
Contains hook implementations for the media_library_test module.
media_test_embed.module in core/modules/media/tests/modules/media_test_embed/media_test_embed.module
Helper module for the Media Embed CKEditor plugin tests.
MenuAccessControlHandler.php in core/modules/system/src/MenuAccessControlHandler.php
MenuAccessControlHandlerTest.php in core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php
MenuLinkContentAccessControlHandler.php in core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php
MenuLinkResetForm.php in core/modules/menu_ui/src/Form/MenuLinkResetForm.php
MenuLinkTreeTest.php in core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
MessageAction.php in core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php
ModerationOptOutPublish.php in core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php
ModerationOptOutUnpublish.php in core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php
node.module in core/modules/node/node.module
The core module that allows content to be submitted to the site.
NodeAccessControlHandler.php in core/modules/node/src/NodeAccessControlHandler.php
NodeAddAccessCheck.php in core/modules/node/src/Access/NodeAddAccessCheck.php
NodeGrantDatabaseStorage.php in core/modules/node/src/NodeGrantDatabaseStorage.php
NodeRevisionAccessCheck.php in core/modules/node/src/Access/NodeRevisionAccessCheck.php
NodeSearch.php in core/modules/node/src/Plugin/Search/NodeSearch.php
NodeTypeAccessControlHandler.php in core/modules/node/src/NodeTypeAccessControlHandler.php
node_access_test.module in core/modules/node/tests/modules/node_access_test/node_access_test.module
Test module for testing the node access system.
NoType.php in core/modules/system/tests/modules/action_test/src/Plugin/Action/NoType.php
OverridesSectionStorage.php in core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php
OverviewTerms.php in core/modules/taxonomy/src/Form/OverviewTerms.php
PathBasedBreadcrumbBuilderTest.php in core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php
Contains \Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest.
PathFieldItemList.php in core/modules/path/src/Plugin/Field/FieldType/PathFieldItemList.php
PermissionAccessCheck.php in core/modules/user/src/Access/PermissionAccessCheck.php
PermissionAccessCheckTest.php in core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php
QuickEditEntityFieldAccessCheck.php in core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheck.php
QuickEditEntityFieldAccessCheckTest.php in core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php
RegisterAccessCheck.php in core/modules/user/src/Access/RegisterAccessCheck.php
RelationshipRouteAccessCheck.php in core/modules/jsonapi/src/Access/RelationshipRouteAccessCheck.php
RendererTest.php in core/tests/Drupal/Tests/Core/Render/RendererTest.php
Contains \Drupal\Tests\Core\Render\RendererTest.
ResourceTestBase.php in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
rest_test.module in core/modules/rest/tests/modules/rest_test/rest_test.module
Contains hook implementations for testing REST module.
RoleAccessCheck.php in core/modules/user/src/Access/RoleAccessCheck.php
RoleAccessCheckTest.php in core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php
RoleAccessControlHandler.php in core/modules/user/src/RoleAccessControlHandler.php
SearchBlock.php in core/modules/search/src/Plugin/Block/SearchBlock.php
SearchPageAccessControlHandler.php in core/modules/search/src/SearchPageAccessControlHandler.php
SectionRenderTest.php in core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php
shortcut.module in core/modules/shortcut/shortcut.module
Allows users to manage customizable lists of shortcut links.
ShortcutAccessControlHandler.php in core/modules/shortcut/src/ShortcutAccessControlHandler.php
ShortcutsBlock.php in core/modules/shortcut/src/Plugin/Block/ShortcutsBlock.php
ShortcutSetAccessControlHandler.php in core/modules/shortcut/src/ShortcutSetAccessControlHandler.php
SimpleConfigSectionStorage.php in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
StatisticsPopularBlock.php in core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php
SyndicateBlock.php in core/modules/node/src/Plugin/Block/SyndicateBlock.php
SystemBrandingOffCanvasForm.php in core/modules/system/src/Form/SystemBrandingOffCanvasForm.php
SystemTestController.php in core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php
TemporaryQueryGuard.php in core/modules/jsonapi/src/Access/TemporaryQueryGuard.php
TermAccessControlHandler.php in core/modules/taxonomy/src/TermAccessControlHandler.php
TestAccessBlock.php in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php
TestAccessCheck.php in core/modules/system/tests/modules/router_test_directory/src/Access/TestAccessCheck.php
TestBlockInstantiation.php in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
ThemeAccessCheck.php in core/lib/Drupal/Core/Theme/ThemeAccessCheck.php
ToolbarController.php in core/modules/toolbar/src/Controller/ToolbarController.php
TourAccessControlHandler.php in core/modules/tour/src/TourAccessControlHandler.php
TrackerController.php in core/modules/tracker/src/Controller/TrackerController.php
UpdateManagerAccessCheck.php in core/modules/update/src/Access/UpdateManagerAccessCheck.php
Url.php in core/lib/Drupal/Core/Url.php
UserAccessControlHandler.php in core/modules/user/src/UserAccessControlHandler.php
UserAccessControlHandlerTest.php in core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php
UserLoginBlock.php in core/modules/user/src/Plugin/Block/UserLoginBlock.php
UserSearch.php in core/modules/user/src/Plugin/Search/UserSearch.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.
ViewModeAccessCheck.php in core/modules/field_ui/src/Access/ViewModeAccessCheck.php
ViewsBlockBase.php in core/modules/views/src/Plugin/Block/ViewsBlockBase.php
views_entity_test.module in core/modules/views/tests/modules/views_entity_test/views_entity_test.module
Contains main module functionality.
VocabularyAccessControlHandler.php in core/modules/taxonomy/src/VocabularyAccessControlHandler.php
WorkflowAccessControlHandler.php in core/modules/workflows/src/WorkflowAccessControlHandler.php
WorkflowAccessControlHandlerTest.php in core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php
WorkflowCustomAccessType.php in core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/WorkflowCustomAccessType.php
WorkflowStateTransitionOperationsAccessCheck.php in core/modules/workflows/src/WorkflowStateTransitionOperationsAccessCheck.php
WorkflowStateTransitionOperationsAccessCheckTest.php in core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php
workflow_type_test.module in core/modules/workflows/tests/modules/workflow_type_test/workflow_type_test.module
Module file for workflow_type_test.
WorkspaceAccessControlHandler.php in core/modules/workspaces/src/WorkspaceAccessControlHandler.php
WorkspaceAccessTest.php in core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php
WorkspaceActivateForm.php in core/modules/workspaces/src/Form/WorkspaceActivateForm.php
workspace_access_test.module in core/modules/workspaces/tests/modules/workspace_access_test/workspace_access_test.module
Provides supporting code for testing access for workspaces.