Search for checkAccess

  1. Search 7.x for checkAccess
  2. Search 9.5.x for checkAccess
  3. Search 8.9.x for checkAccess
  4. Search 10.3.x for checkAccess
  5. Other projects
Title Object type File name Summary
AccessAwareRouter::checkAccess function core/lib/Drupal/Core/Routing/AccessAwareRouter.php Apply access check service to the route and parameters in the request.
AccessAwareRouterTest::testCheckAccessResultWithReason function core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php Tests the matchRequest() function for access denied with reason message.
ArgumentDefaultPluginBase::checkAccess function core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php Disables the given option if the user does not have access.
ArgumentValidatorPluginBase::checkAccess function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Blocks user input when the form is shown but we don´t have access.
AuthorFormatter::checkAccess function core/modules/user/src/Plugin/Field/FieldFormatter/AuthorFormatter.php Checks access to the given entity.
BaseFieldOverrideAccessControlHandler::checkAccess function core/lib/Drupal/Core/Field/BaseFieldOverrideAccessControlHandler.php Performs access checks.
BlockAccessControlHandler::checkAccess function core/modules/block/src/BlockAccessControlHandler.php Performs access checks.
BlockContentAccessControlHandler::checkAccess function core/modules/block_content/src/BlockContentAccessControlHandler.php Performs access checks.
BlockTypeAccessControlHandler::checkAccess function core/modules/block_content/src/BlockTypeAccessControlHandler.php Performs access checks.
BookManager::bookTreeCheckAccess function core/modules/book/src/ProxyClass/BookManager.php
BookManager::bookTreeCheckAccess function core/modules/book/src/BookManager.php
BookManager::doBookTreeCheckAccess function core/modules/book/src/BookManager.php Sorts the menu tree and recursively checks access for each item.
BookManagerInterface::bookTreeCheckAccess function core/modules/book/src/BookManagerInterface.php Checks access and performs dynamic operations for each link in the tree.
CommentAccessControlHandler::checkAccess function core/modules/comment/src/CommentAccessControlHandler.php Performs access checks.
ConfigTestAccessControlHandler::checkAccess function core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php Performs access checks.
ConfigTranslationFormAccess::doCheckAccess function core/modules/config_translation/src/Access/ConfigTranslationFormAccess.php Checks access given an account, configuration mapper, and source language.
ConfigTranslationOverviewAccess::doCheckAccess function core/modules/config_translation/src/Access/ConfigTranslationOverviewAccess.php Checks access given an account, configuration mapper, and source language.
ContactFormAccessControlHandler::checkAccess function core/modules/contact/src/ContactFormAccessControlHandler.php Performs access checks.
ContentModerationStateAccessControlHandler::checkAccess function core/modules/content_moderation/src/ContentModerationStateAccessControlHandler.php Performs access checks.
ContentTranslationDeleteAccess::checkAccess function core/modules/content_translation/src/Access/ContentTranslationDeleteAccess.php Checks access to translation deletion for the specified entity.
ContentTranslationManageAccessCheck::checkAccess function core/modules/content_translation/src/Access/ContentTranslationManageAccessCheck.php Performs access checks for the specified operation.
DateFormatAccessControlHandler::checkAccess function core/modules/system/src/DateFormatAccessControlHandler.php Performs access checks.
DefaultMenuLinkTreeManipulators::checkAccess function core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php Performs access checks of a menu tree.
DefaultMenuLinkTreeManipulators::menuLinkCheckAccess function core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php Checks access for one menu link instance.
DefaultMenuLinkTreeManipulatorsTest::testCheckAccess function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Tests the checkAccess() tree manipulator.
DefaultMenuLinkTreeManipulatorsTest::testCheckAccessTreeManipulator function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Tests checkAccess() tree manipulator.
EditorAccessControlHandler::checkAccess function core/modules/editor/src/EditorAccessControlHandler.php Performs access checks.
EntityAccessControlHandler::checkAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Performs access checks.
EntityFormDisplayAccessControlHandler::checkAccess function core/lib/Drupal/Core/Entity/Entity/Access/EntityFormDisplayAccessControlHandler.php Performs access checks.
EntityReferenceFormatterBase::checkAccess function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Checks access to the given entity.
EntityReferenceLabelFormatter::checkAccess function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php Checks access to the given entity.
EntityTestAccessControlHandler::checkAccess function core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php Performs access checks.
EntityTestRevlogAccessControlHandler::checkAccess function core/modules/system/tests/modules/entity_test_revlog/src/EntityTestRevlogAccessControlHandler.php Performs access checks.
EntityViewDisplayAccessControlHandler::checkAccess function core/lib/Drupal/Core/Entity/Entity/Access/EntityViewDisplayAccessControlHandler.php Performs access checks.
FieldConfigAccessControlHandler::checkAccess function core/modules/field/src/FieldConfigAccessControlHandler.php Performs access checks.
FieldStorageConfigAccessControlHandler::checkAccess function core/modules/field/src/FieldStorageConfigAccessControlHandler.php Performs access checks.
FileAccessControlHandler::checkAccess function core/modules/file/src/FileAccessControlHandler.php
FileFormatterBase::checkAccess function core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php
FileTestAccessControlHandler::checkAccess function core/modules/file/tests/file_test/src/FileTestAccessControlHandler.php Performs access checks.
FilterFormatAccessControlHandler::checkAccess function core/modules/filter/src/FilterFormatAccessControlHandler.php Performs access checks.
LanguageAccessControlHandler::checkAccess function core/modules/language/src/LanguageAccessControlHandler.php Performs access checks.
MediaAccessControlHandler::checkAccess function core/modules/media/src/MediaAccessControlHandler.php Performs access checks.
MediaLibraryEditorOpener::checkAccess function core/modules/media_library/src/MediaLibraryEditorOpener.php Checks media library access.
MediaLibraryFieldWidgetOpener::checkAccess function core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php Checks media library access.
MediaLibraryOpenerInterface::checkAccess function core/modules/media_library/src/MediaLibraryOpenerInterface.php Checks media library access.
MediaLibraryUiBuilder::checkAccess function core/modules/media_library/src/MediaLibraryUiBuilder.php Check access to the media library.
MediaThumbnailFormatter::checkAccess function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php
MediaTypeAccessControlHandler::checkAccess function core/modules/media/src/MediaTypeAccessControlHandler.php Performs access checks.
MenuAccessControlHandler::checkAccess function core/modules/system/src/MenuAccessControlHandler.php Performs access checks.
MenuLinkContentAccessControlHandler::checkAccess function core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php Performs access checks.

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