13 calls to AccessResult::forbiddenIf() in Drupal 10
- 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
- config_test_rest_config_test_access in core/
modules/ rest/ tests/ modules/ config_test_rest/ config_test_rest.module - 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().
- field_test_entity_field_access in core/
modules/ field/ tests/ modules/ field_test/ field_test.field.inc - Implements hook_entity_field_access().
- field_ui_test_field_config_access in core/
modules/ field_ui/ tests/ modules/ field_ui_test/ field_ui_test.module - Implements hook_ENTITY_TYPE_access().
- hook_block_access in core/
modules/ block/ block.api.php - Control access to a block instance.
- hook_jsonapi_entity_field_filter_access in core/
modules/ jsonapi/ jsonapi.api.php - Restricts filtering access to the given field.
- jsonapi_test_field_filter_access_jsonapi_entity_field_filter_access in core/
modules/ jsonapi/ tests/ modules/ jsonapi_test_field_filter_access/ jsonapi_test_field_filter_access.module - Implements hook_jsonapi_entity_field_field_access().
- language_entity_field_access in core/
modules/ language/ language.module - Implements hook_entity_field_access().
- media_entity_access in core/
modules/ media/ media.module - Implements hook_entity_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().