50 calls to AccessResult::neutral()

AccessManager::check in core/lib/Drupal/Core/Access/AccessManager.php
Checks a route against applicable access check services.
AccessManagerTest::providerTestCheckConjunctions in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
Provides data for the conjunction test.
AccessManagerTest::testCheck in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
Tests \Drupal\Core\Access\AccessManager::check().
AccessResult::allowedIf in core/lib/Drupal/Core/Access/AccessResult.php
Creates an allowed or neutral access result.
AccessResult::andIf in core/lib/Drupal/Core/Access/AccessResult.php
Combine this access result with another using AND.
AccessResult::forbiddenIf in core/lib/Drupal/Core/Access/AccessResult.php
Creates a forbidden or neutral access result.
AccessResult::orIf in core/lib/Drupal/Core/Access/AccessResult.php
Combine this access result with another using OR.
AccessResultTest::andOrCacheabilityPropagationProvider in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
Provides a list of access result pairs and operations to test.
AccessResultTest::testAndIf in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::andIf[[api-linebreak]]
AccessResultTest::testConstruction in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
Tests the construction of an AccessResult object.
AccessResultTest::testOrIf in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::orIf[[api-linebreak]]
AccessResultTest::testOrIfCacheabilityMerging in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::orIf[[api-linebreak]]
CustomAccessCheckTest::testAccess in core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php
Tests the access method.
DefaultAccessCheck::access in core/lib/Drupal/Core/Access/DefaultAccessCheck.php
Checks access to the route based on the _access parameter.
DefaultAccessCheckTest::testAccess in core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php
Tests the access method.
DefaultMenuLinkTreeManipulators::collectNodeLinks in core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php
Collects the node links in the menu tree.
DefaultMenuLinkTreeManipulatorsTest::testCheckAccess in core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php
Tests the checkAccess() tree manipulator.
DefaultMenuLinkTreeManipulatorsTest::testCheckNodeAccess in core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php
Tests the optimized node access checking.
DefinedTestAccessCheck::access in core/modules/system/tests/modules/router_test_directory/src/Access/DefinedTestAccessCheck.php
Checks access.
EntityAccessCheck::access in core/lib/Drupal/Core/Entity/EntityAccessCheck.php
Checks access to the entity operation on the given route.
EntityAccessCheckTest::testAccessWithDifferentRouteParameters in core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php
@covers ::access[[api-linebreak]]
EntityAccessControlHandler::checkAccess in core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
Performs access checks.
EntityAccessControlHandler::checkCreateAccess in core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
Performs create access checks.
EntityAccessControlHandler::processAccessHookResults in core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
Determines entity access.
EntityBundleAccessCheck::access in core/lib/Drupal/Core/Entity/EntityBundleAccessCheck.php
Checks entity bundle match based on the _entity_bundles route requirement.
EntityBundleAccessCheckTest::getBundleAndAccessResult in core/tests/Drupal/Tests/Core/Entity/EntityBundleAccessCheckTest.php
Data provider.
EntityCreateAccessCheck::access in core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php
Checks access to create the entity type and bundle for the given route.
EntityCreateAccessCheckTest::testAccess in core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php
Tests the method for checking access to routes.
EntityCreateAnyAccessCheck::access in core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php
Checks access to create an entity of any bundle for the given route.
EntityDeleteMultipleAccessCheck::access in core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php
Checks if the user has delete access for at least one item of the store.
EntityPermissionsFormTest::testPermissionsByProvider in core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php
Tests generating the permissions list.
EntityTestAccessControlHandler::checkAccess in core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php
Performs access checks.
entity_test_entity_access in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_entity_access().
entity_test_entity_create_access in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_entity_create_access().
entity_test_entity_field_access in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_entity_field_access().
entity_test_entity_test_access in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_ENTITY_TYPE_access() for 'entity_test'.
entity_test_entity_test_create_access in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_ENTITY_TYPE_create_access() for 'entity_test'.
hook_block_access in core/modules/block/block.api.php
Control access to a block instance.
hook_entity_access in core/lib/Drupal/Core/Entity/entity.api.php
Control entity operation access.
hook_entity_create_access in core/lib/Drupal/Core/Entity/entity.api.php
Control entity create access.
hook_entity_field_access in core/lib/Drupal/Core/Entity/entity.api.php
Control access to fields.
hook_ENTITY_TYPE_access in core/lib/Drupal/Core/Entity/entity.api.php
Control entity operation access for a specific entity type.
hook_ENTITY_TYPE_create_access in core/lib/Drupal/Core/Entity/entity.api.php
Control entity create access for a specific entity type.
MockQuickEditEntityFieldAccessCheck::accessEditEntityField in core/modules/quickedit/tests/modules/src/MockQuickEditEntityFieldAccessCheck.php
Checks access to edit the requested field of the requested entity.
PermissionAccessCheck::access in core/modules/user/src/Access/PermissionAccessCheck.php
Checks access.
QuickEditEntityFieldAccessCheckTest::providerTestAccess in core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php
Provides test data for testAccess().
TestAccessCheck::access in core/modules/system/tests/modules/router_test_directory/src/Access/TestAccessCheck.php
Checks access.
TestController::accessDeny in core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php
UserAccessControlHandler::checkAccess in core/modules/user/src/UserAccessControlHandler.php
Performs access checks.
UserAccessControlHandler::checkFieldAccess in core/modules/user/src/UserAccessControlHandler.php
Default field access as determined by this access control handler.

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