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
MenuUiMenuTreeManipulators::checkAccess function core/modules/menu_ui/src/Menu/MenuUiMenuTreeManipulators.php Grants access to a menu tree when used in the menu management form.
MigrateAccessCheck::checkAccess function core/modules/migrate_drupal_ui/src/MigrateAccessCheck.php Checks if the user is user 1 and grants access if so.
NodeAccessControlHandler::checkAccess function core/modules/node/src/NodeAccessControlHandler.php Performs access checks.
NodeTypeAccessControlHandler::checkAccess function core/modules/node/src/NodeTypeAccessControlHandler.php Performs access checks.
PrepareModulesEntityUninstallForm::checkAccess function core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php Checks access based on the validity of the entity type ID.
RoleAccessControlHandler::checkAccess function core/modules/user/src/RoleAccessControlHandler.php Performs access checks.
SearchPageAccessControlHandler::checkAccess function core/modules/search/src/SearchPageAccessControlHandler.php Performs access checks.
ShortcutAccessControlHandler::checkAccess function core/modules/shortcut/src/ShortcutAccessControlHandler.php Performs access checks.
ShortcutSetAccessControlHandler::checkAccess function core/modules/shortcut/src/ShortcutSetAccessControlHandler.php Performs access checks.
SwitchShortcutSet::checkAccess function core/modules/shortcut/src/Form/SwitchShortcutSet.php Checks access for the shortcut set switch form.
TermAccessControlHandler::checkAccess function core/modules/taxonomy/src/TermAccessControlHandler.php Performs access checks.
ThemeAccessCheck::checkAccess function core/lib/Drupal/Core/Theme/ThemeAccessCheck.php Indicates whether the theme is accessible based on whether it is installed.
TourAccessControlHandler::checkAccess function core/modules/tour/src/TourAccessControlHandler.php Performs access checks.
TrackerController::checkAccess function core/modules/tracker/src/Controller/TrackerController.php Checks access for the users recent content tracker page.
UserAccessControlHandler::checkAccess function core/modules/user/src/UserAccessControlHandler.php Performs access checks.
VocabularyAccessControlHandler::checkAccess function core/modules/taxonomy/src/VocabularyAccessControlHandler.php Performs access checks.
WorkflowAccessControlHandler::checkAccess function core/modules/workflows/src/WorkflowAccessControlHandler.php Performs access checks.
WorkflowAccessControlHandlerTest::checkAccessProvider function core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php Data provider for ::testCheckAccess.
WorkflowAccessControlHandlerTest::testCheckAccess function core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php @covers ::checkAccess
@dataProvider checkAccessProvider
WorkspaceAccessControlHandler::checkAccess function core/modules/workspaces/src/WorkspaceAccessControlHandler.php Performs access checks.
WorkspaceActivateForm::checkAccess function core/modules/workspaces/src/Form/WorkspaceActivateForm.php Checks access for the workspace activate form.

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