34 calls to AccessResult::allowedIfHasPermission() in Zircon Profile 8
- AccessResultTest::testCacheContexts in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessResultTest.php - @covers ::addCacheContexts @covers ::resetCacheContexts @covers ::getCacheContexts @covers ::cachePerPermissions @covers ::cachePerUser @covers ::allowedIfHasPermission
- AggregatorFeedBlock::blockAccess in core/
modules/ aggregator/ src/ Plugin/ Block/ AggregatorFeedBlock.php - Indicates whether the block should be shown.
- CommentAccessControlHandler::checkCreateAccess in core/
modules/ comment/ src/ CommentAccessControlHandler.php - Performs create access checks.
- CommentAccessControlHandler::checkFieldAccess in core/
modules/ comment/ src/ CommentAccessControlHandler.php - Default field access as determined by this access control handler.
- CommentController::replyFormAccess in core/
modules/ comment/ src/ Controller/ CommentController.php - Access check for the reply form.
- ContactMessageAccessControlHandler::checkCreateAccess in core/
modules/ contact/ src/ ContactMessageAccessControlHandler.php - Performs create access checks.
- ContactPageAccess::access in core/
modules/ contact/ src/ Access/ ContactPageAccess.php - Checks access to the given user's contact page.
- 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.
- EntityTestAccessControlHandler::checkAccess in core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestAccessControlHandler.php - Performs access checks.
- EntityTestAccessControlHandler::checkCreateAccess in core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestAccessControlHandler.php - Performs create access checks.
- entity_test_entity_field_access in core/
modules/ system/ tests/ modules/ entity_test/ entity_test.module - Implements hook_entity_field_access().
- FeedAccessControlHandler::checkAccess in core/
modules/ aggregator/ src/ FeedAccessControlHandler.php - Performs access checks.
- FeedAccessControlHandler::checkCreateAccess in core/
modules/ aggregator/ src/ FeedAccessControlHandler.php - Performs create access checks.
- FieldConfigAccessControlHandler::checkAccess in core/
modules/ field/ src/ FieldConfigAccessControlHandler.php - Performs access checks.
- FilterFormatAccessControlHandler::checkAccess in core/
modules/ filter/ src/ FilterFormatAccessControlHandler.php - Performs access checks.
- FormModeAccessCheck::access in core/
modules/ field_ui/ src/ Access/ FormModeAccessCheck.php - Checks access to the form mode.
- ForumBlockBase::blockAccess in core/
modules/ forum/ src/ Plugin/ Block/ ForumBlockBase.php - Indicates whether the block should be shown.
- hook_entity_field_access in core/
lib/ Drupal/ Core/ Entity/ entity.api.php - Control access to fields.
- hook_node_access in core/
modules/ node/ node.api.php - Controls access to a node.
- MenuLinkContentAccessControlHandler::checkAccess in core/
modules/ menu_link_content/ src/ MenuLinkContentAccessControlHandler.php - Performs access checks.
- NodeAccessControlHandler::checkFieldAccess in core/
modules/ node/ src/ NodeAccessControlHandler.php - Default field access as determined by this access control handler.
- NodeSearch::access in core/
modules/ node/ src/ Plugin/ Search/ NodeSearch.php - Checks data value access.
- NodeTypeAccessControlHandler::checkAccess in core/
modules/ node/ src/ NodeTypeAccessControlHandler.php - Performs access checks.
- node_node_access in core/
modules/ node/ node.module - Implements hook_node_access().
- SearchBlock::blockAccess in core/
modules/ search/ src/ Plugin/ Block/ SearchBlock.php - Indicates whether the block should be shown.
- ShortcutsBlock::blockAccess in core/
modules/ shortcut/ src/ Plugin/ Block/ ShortcutsBlock.php - Indicates whether the block should be shown.
- StatisticsPopularBlock::blockAccess in core/
modules/ statistics/ src/ Plugin/ Block/ StatisticsPopularBlock.php - Indicates whether the block should be shown.
- SyndicateBlock::blockAccess in core/
modules/ node/ src/ Plugin/ Block/ SyndicateBlock.php - Indicates whether the block should be shown.
- SystemTestController::permissionDependentContent in core/
modules/ system/ tests/ modules/ system_test/ src/ Controller/ SystemTestController.php - Shows permission-dependent content.
- TermAccessControlHandler::checkAccess in core/
modules/ taxonomy/ src/ TermAccessControlHandler.php - Performs access checks.
- TermAccessControlHandler::checkCreateAccess in core/
modules/ taxonomy/ src/ TermAccessControlHandler.php - Performs create access checks.
- TestBlockInstantiation::blockAccess in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestBlockInstantiation.php - Indicates whether the block should be shown.
- ViewModeAccessCheck::access in core/
modules/ field_ui/ src/ Access/ ViewModeAccessCheck.php - Checks access to the view mode.