You are here

69 calls to AccessResult::allowed() in Zircon Profile 8.0

AccessAwareRouterTest::testMatchRequestAllowed in core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php
Tests the matchRequest() function for access allowed.
AccessCheck::access in core/modules/system/tests/modules/menu_test/src/Access/AccessCheck.php
Check to see if user accessed this page.
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().
AccessManagerTest::testCheckNamedRoute in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
Tests the checkNamedRoute method.
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::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::testAccessAllowed in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::allowed @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral
AccessResultTest::testAndIf in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::andIf
AccessResultTest::testInheritCacheability in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::inheritCacheability
AccessResultTest::testOrIf in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::orIf
AccessResultTest::testOrIfCacheabilityMerging in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::orIf
AuthorFormatter::checkAccess in core/modules/user/src/Plugin/Field/FieldFormatter/AuthorFormatter.php
Checks access to the given entity.
BlockBase::blockAccess in core/lib/Drupal/Core/Block/BlockBase.php
Indicates whether the block should be shown.
BlockContentAccessControlHandler::checkAccess in core/modules/block_content/src/BlockContentAccessControlHandler.php
Performs access checks.
BlockRepositoryTest::providerBlocksConfig in core/modules/block/tests/src/Unit/BlockRepositoryTest.php
ConfigTestAccessControlHandler::checkAccess in core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php
Performs access checks.
ConfigTestAccessControlHandler::checkCreateAccess in core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php
Performs create access checks.
ContentEntityBaseUnitTest::testAccess in core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
@covers ::access
ContentTranslationManageAccessCheckTest::testCreateAccess in core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php
Tests the create access method.
ContextualLinkManagerTest::testGetContextualLinksArrayByGroup in core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php
Tests the getContextualLinksArrayByGroup method.
CsrfAccessCheck::access in core/lib/Drupal/Core/Access/CsrfAccessCheck.php
Checks access based on a CSRF token for the request.
CustomAccessCheckTest::testAccess in core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php
Test the access method.
DateFormatAccessControlHandler::checkAccess in core/modules/system/src/DateFormatAccessControlHandler.php
Performs access checks.
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.
DefaultMenuLinkTreeManipulators::menuLinkCheckAccess in core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php
Checks access for one menu link instance.
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.
EditEntityFieldAccessCheckTest::providerTestAccess in core/modules/quickedit/tests/src/Unit/Access/EditEntityFieldAccessCheckTest.php
Provides test data for testAccess().
ElementTest::providerVisibleChildren in core/tests/Drupal/Tests/Core/Render/ElementTest.php
Data provider for testVisibleChildren.
EmailAction::access in core/modules/action/src/Plugin/Action/EmailAction.php
Checks object access.
EntityAccessCheckTest::testAccess in core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php
Tests the method for checking access to routes.
EntityAccessCheckTest::testAccessWithTypePlaceholder in core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php
@covers ::access
EntityAccessControlHandler::checkFieldAccess in core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
Default field access as determined by this access control handler.
EntityAccessControlHandler::fieldAccess in core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
Checks access to an operation on a given entity field.
EntityCreateAccessCheckTest::testAccess in core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php
Tests the method for checking access to routes.
EntityListBuilderTest::testGetOperations in core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
@covers ::getOperations
EntityUnitTest::testAccess in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
@covers ::access
entity_test_entity_access in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_entity_access().
FieldAccessTest::testFieldAccess in core/modules/system/src/Tests/Entity/FieldAccessTest.php
Tests hook_entity_field_access() and hook_entity_field_access_alter().
FieldItemList::defaultAccess in core/lib/Drupal/Core/Field/FieldItemList.php
Contains the default access logic of this field.
field_test_entity_field_access in core/modules/field/tests/modules/field_test/field_test.field.inc
Implements hook_entity_field_access().
FileAccessControlHandler::checkAccess in core/modules/file/src/FileAccessControlHandler.php
Performs access checks.
FileFormatterBase::checkAccess in core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php
Checks access to the given entity.
FilterFormatAccessControlHandler::checkAccess in core/modules/filter/src/FilterFormatAccessControlHandler.php
Performs access checks.
FilterFormatAccessTest::testFormatPermissions in core/modules/filter/src/Tests/FilterFormatAccessTest.php
Tests the Filter format access permissions functionality.
FormBuilderTest::providerTestChildAccessInheritance in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Data provider for testChildAccessInheritance.
GotoAction::access in core/modules/action/src/Plugin/Action/GotoAction.php
Checks object access.
LanguageBlock::blockAccess in core/modules/language/src/Plugin/Block/LanguageBlock.php
Indicates whether the block should be shown.
LocalTaskManagerTest::setupFactoryAndLocalTaskPlugins in core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
MenuAccessControlHandler::checkAccess in core/modules/system/src/MenuAccessControlHandler.php
Performs access checks.
MenuLinkTreeTest::providerTestBuildCacheability in core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
Provides the test cases to test for ::testBuildCacheability().
MessageAction::access in core/modules/action/src/Plugin/Action/MessageAction.php
Checks object access.
NodeGrantDatabaseStorage::access in core/modules/node/src/NodeGrantDatabaseStorage.php
Determines access to nodes based on node grants.
NoType::access in core/modules/system/tests/modules/action_test/src/Plugin/Action/NoType.php
Checks object access.
PathFieldItemList::defaultAccess in core/modules/path/src/Plugin/Field/FieldType/PathFieldItemList.php
Contains the default access logic of this field.
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
TestAccessClass::accessResultAllowed in core/tests/Drupal/Tests/Core/Render/RendererTest.php
TestController::accessAllow in core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php
UserAccessControlHandler::checkFieldAccess in core/modules/user/src/UserAccessControlHandler.php
Default field access as determined by this access control handler.
UserAccessControlHandlerTest::setUp in core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php
ViewAccessControlHandler::checkAccess in core/modules/views/src/ViewAccessControlHandler.php
Performs access checks.
ViewsBlockBase::blockAccess in core/modules/views/src/Plugin/Block/ViewsBlockBase.php
Indicates whether the block should be shown.