17 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 - Performs access checks.
- EntityPermissionsForm::access in core/
modules/ user/ src/ Form/ EntityPermissionsForm.php - Checks that there are permissions to be managed.
- 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 - Checks media library access.
- NodeGrantDatabaseStorage::access in core/
modules/ node/ src/ NodeGrantDatabaseStorage.php - Determines access to nodes based on node grants.
- OverviewTerms::buildForm in core/
modules/ taxonomy/ src/ Form/ OverviewTerms.php - Form constructor.
- QuickEditEntityFieldAccessCheckTest::testAccess in core/
modules/ quickedit/ tests/ src/ Unit/ Access/ QuickEditEntityFieldAccessCheckTest.php - Tests the method for checking access to routes.
- TestController::accessParameter in core/
tests/ Drupal/ Tests/ Core/ Access/ CustomAccessCheckTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.