12 calls to AccessResult::forbiddenIf()
- AccessResultTest::testAccessConditionallyForbidden in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessResultTest.php - @covers ::forbiddenIf @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral
- AccessResultTest::testAccessForbiddenReason in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessResultTest.php - @covers ::forbidden
- BlockContentAccessControlHandler::checkAccess in core/
modules/ block_content/ src/ BlockContentAccessControlHandler.php - FieldTestBooleanAccessDeniedHooks::entityFieldAccess in core/
modules/ field/ tests/ modules/ field_test_boolean_access_denied/ src/ Hook/ FieldTestBooleanAccessDeniedHooks.php - Implements hook_entity_field_access().
- FieldUiTestHooks::fieldConfigAccess in core/
modules/ field_ui/ tests/ modules/ field_ui_test/ src/ Hook/ FieldUiTestHooks.php - Implements hook_ENTITY_TYPE_access().
- field_test_boolean_access_denied_entity_field_access in core/
modules/ field/ tests/ modules/ field_test_boolean_access_denied/ field_test_boolean_access_denied.module - Implements hook_entity_field_access().
- LanguageHooks::entityFieldAccess in core/
modules/ language/ src/ Hook/ LanguageHooks.php - Implements hook_entity_field_access().
- MediaHooks::entityAccess in core/
modules/ media/ src/ Hook/ MediaHooks.php - Implements hook_entity_access().
- MediaLibraryTestHooks::entityFieldAccess in core/
modules/ media_library/ tests/ modules/ media_library_test/ src/ Hook/ MediaLibraryTestHooks.php - Implements hook_entity_field_access().
- MediaLibraryTestHooks::mediaCreateAccess in core/
modules/ media_library/ tests/ modules/ media_library_test/ src/ Hook/ MediaLibraryTestHooks.php - Implements hook_ENTITY_TYPE_create_access().
- media_library_test_entity_field_access in core/
modules/ media_library/ tests/ modules/ media_library_test/ media_library_test.module - Implements hook_entity_field_access().
- media_library_test_media_create_access in core/
modules/ media_library/ tests/ modules/ media_library_test/ media_library_test.module - Implements hook_ENTITY_TYPE_create_access().
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.