You are here

42 calls to AccessResult::forbidden() in Zircon Profile 8

AccessAwareRouterTest::testMatchRequestDenied in core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php
Tests the matchRequest() function for access denied.
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().
AccessManagerTest::testCheckNamedRouteWithDefaultValue in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
Tests the checkNamedRoute with default values.
AccessManagerTest::testCheckNamedRouteWithUpcastedValues in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
Tests the checkNamedRoute with upcasted values.
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::testAccessForbidden in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::forbidden @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral
AccessResultTest::testAndIf in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::andIf
AccessResultTest::testOrIf in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::orIf
BlockAccessControlHandler::checkAccess in core/modules/block/src/BlockAccessControlHandler.php
Performs access checks.
BlockContentBlock::blockAccess in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
Indicates whether the block should be shown.
BlockRepositoryTest::providerBlocksConfig in core/modules/block/tests/src/Unit/BlockRepositoryTest.php
CommentAccessControlHandler::checkFieldAccess in core/modules/comment/src/CommentAccessControlHandler.php
Default field access as determined by this access control handler.
ContactPageAccess::access in core/modules/contact/src/Access/ContactPageAccess.php
Checks access to the given user's contact page.
CsrfAccessCheck::access in core/lib/Drupal/Core/Access/CsrfAccessCheck.php
Checks access based on a CSRF token for the request.
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
Test the access method.
DefaultMenuLinkTreeManipulatorsTest::testCheckAccess in core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php
Tests the checkAccess() tree manipulator.
DefinedTestAccessCheck::access in core/modules/system/tests/modules/router_test_directory/src/Access/DefinedTestAccessCheck.php
Checks access.
EditEntityFieldAccessCheck::access in core/modules/quickedit/src/Access/EditEntityFieldAccessCheck.php
Checks Quick Edit access to the field.
EditEntityFieldAccessCheckTest::testAccessForbidden in core/modules/quickedit/tests/src/Unit/Access/EditEntityFieldAccessCheckTest.php
Tests checking access to routes that result in AccessResult::isForbidden().
ElementTest::providerVisibleChildren in core/tests/Drupal/Tests/Core/Render/ElementTest.php
Data provider for testVisibleChildren.
EntityTestAccessControlHandler::checkAccess in core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php
Performs access checks.
entity_test_entity_field_access in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_entity_field_access().
field_test_entity_field_access in core/modules/field/tests/modules/field_test/field_test.field.inc
Implements hook_entity_field_access().
FilterFormatAccessControlHandler::checkAccess in core/modules/filter/src/FilterFormatAccessControlHandler.php
Performs access checks.
FormBuilderTest::providerTestChildAccessInheritance in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Data provider for testChildAccessInheritance.
LanguageBlock::blockAccess in core/modules/language/src/Plugin/Block/LanguageBlock.php
Indicates whether the block should be shown.
LocalActionManagerTest::getActionsForRouteProvider in core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
NodeAccessControlHandler::checkFieldAccess in core/modules/node/src/NodeAccessControlHandler.php
Default field access as determined by this access control handler.
RendererTest::providerAccessValues in core/tests/Drupal/Tests/Core/Render/RendererTest.php
Provides a list of both booleans.
RendererTest::testRenderWithAccessControllerResolved in core/tests/Drupal/Tests/Core/Render/RendererTest.php
@covers ::render @covers ::doRender
RoleAccessControlHandler::checkAccess in core/modules/user/src/RoleAccessControlHandler.php
Performs access checks.
TestAccessClass::accessResultForbidden in core/tests/Drupal/Tests/Core/Render/RendererTest.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.
UserLoginBlock::blockAccess in core/modules/user/src/Plugin/Block/UserLoginBlock.php
Indicates whether the block should be shown.
user_access_test_user_access in core/modules/user/tests/modules/user_access_test/user_access_test.module
Implements hook_ENTITY_TYPE_access() for entity type "user".
ViewsBlockBase::blockAccess in core/modules/views/src/Plugin/Block/ViewsBlockBase.php
Indicates whether the block should be shown.