10 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[[api-linebreak]] @covers ::isAllowed[[api-linebreak]] @covers ::isForbidden[[api-linebreak]] @covers ::isNeutral[[api-linebreak]]
- 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.
- EntityPermissionsForm::access in core/
modules/ user/ src/ Form/ EntityPermissionsForm.php - Checks that there are permissions to be managed.
- 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.