20 calls to AccessResult::allowedIf()
- AccessCheck::access in core/
modules/ system/ tests/ modules/ menu_test/ src/ Access/ AccessCheck.php - Check to see if user accessed this page.
- AccessResultTest::providerTestAllowedIfHasPermissions in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessResultTest.php - Provides data for the testAllowedIfHasPermissions() method.
- AccessResultTest::testAccessConditionallyAllowed in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessResultTest.php - @covers ::allowedIf @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral
- BlockHasOverridesAccessCheck::access in core/
modules/ settings_tray/ src/ Access/ BlockHasOverridesAccessCheck.php - Checks access for accessing a block's 'settings_tray' form.
- BlockPluginHasSettingsTrayFormAccessCheck::accessBlockPlugin in core/
modules/ settings_tray/ src/ Access/ BlockPluginHasSettingsTrayFormAccessCheck.php - Checks access for accessing a block plugin's 'settings_tray' form.
- ChangedFieldItemList::defaultAccess in core/
lib/ Drupal/ Core/ Field/ ChangedFieldItemList.php - Contains the default access logic of this field.
- CommentController::replyFormAccess in core/
modules/ comment/ src/ Controller/ CommentController.php - Access check for the reply form.
- ConfigTranslationFormAccess::doCheckAccess in core/
modules/ config_translation/ src/ Access/ ConfigTranslationFormAccess.php - Checks access given an account, configuration mapper, and source language.
- ContactFormAccessControlHandler::checkAccess in core/
modules/ contact/ src/ ContactFormAccessControlHandler.php - EntityPermissionsForm::access in core/
modules/ user/ src/ Form/ EntityPermissionsForm.php - Checks that there are permissions to be managed.
- EntityTestAccessControlHandler::checkAccess in core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestAccessControlHandler.php - Performs access checks.
- EntityTestRevlogAccessControlHandler::checkAccess in core/
modules/ system/ tests/ modules/ entity_test_revlog/ src/ EntityTestRevlogAccessControlHandler.php - Performs access checks.
- jsonapi_test_field_filter_access_jsonapi_entity_field_filter_access in core/
modules/ jsonapi/ tests/ modules/ jsonapi_test_field_filter_access/ jsonapi_test_field_filter_access.module - Implements hook_jsonapi_entity_field_field_access().
- LatestRevisionCheck::access in core/
modules/ content_moderation/ src/ Access/ LatestRevisionCheck.php - Checks that there is a pending revision available.
- MediaLibraryEditorOpener::checkAccess in core/
modules/ media_library/ src/ MediaLibraryEditorOpener.php - NodeGrantDatabaseStorage::access in core/
modules/ node/ src/ NodeGrantDatabaseStorage.php - PrepareModulesEntityUninstallForm::checkAccess in core/
modules/ system/ src/ Form/ PrepareModulesEntityUninstallForm.php - Checks access based on the validity of the entity type ID.
- TestController::accessParameter in core/
tests/ Drupal/ Tests/ Core/ Access/ CustomAccessCheckTest.php - TestController::accessRequest in core/
tests/ Drupal/ Tests/ Core/ Access/ CustomAccessCheckTest.php - WorkflowAccessControlHandler::checkCreateAccess in core/
modules/ workflows/ src/ WorkflowAccessControlHandler.php - Performs create access checks.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.