Search for fieldAccess

  1. Search 7.x for fieldAccess
  2. Search 9.5.x for fieldAccess
  3. Search 10.3.x for fieldAccess
  4. Search 11.x for fieldAccess
  5. Other projects
Title Object type File name Summary
EntityAccessControlHandlerTest::testFieldAccess function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Tests the default access handling for the ID and UUID fields.
EntityConstraintViolationList::filterByFieldAccess function core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php Filters this violation list to apply for accessible fields only.
EntityConstraintViolationListInterface::filterByFieldAccess function core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php Filters this violation list to apply for accessible fields only.
EntityConstraintViolationListTest::testFilterByFieldAccess function core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php @covers ::filterByFieldAccess
EntityConstraintViolationListTest::testFilterByFieldAccessWithCompositeConstraint function core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php @covers ::filterByFieldAccess
EntityResource::checkPatchFieldAccess function core/modules/jsonapi/src/Controller/EntityResource.php Checks whether the given field should be PATCHed.
EntityResource::checkPatchFieldAccess function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Checks whether the given field should be PATCHed.
EntityResourceAccessTrait::checkEditFieldAccess function core/modules/rest/src/Plugin/rest/resource/EntityResourceAccessTrait.php Performs edit access checks for fields.
EntityTestViewsFieldAccessTest class core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php Tests base field access in Views for the entity_test entity.
EntityTestViewsFieldAccessTest.php file core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php
EntityTestViewsFieldAccessTest::$modules property core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php Modules to enable.
EntityTestViewsFieldAccessTest::setUp function core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php
EntityTestViewsFieldAccessTest::testEntityTestFields function core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php
FieldAccessTest class core/modules/field/tests/src/Functional/FieldAccessTest.php Tests Field access.
FieldAccessTest class core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Tests Field level access hooks.
FieldAccessTest.php file core/modules/field/tests/src/Functional/FieldAccessTest.php
FieldAccessTest.php file core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php
FieldAccessTest::$activeUid property core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Holds the currently active global user ID that initiated the test run.
FieldAccessTest::$defaultTheme property core/modules/field/tests/src/Functional/FieldAccessTest.php The theme to install as the default for testing.
FieldAccessTest::$modules property core/modules/field/tests/src/Functional/FieldAccessTest.php Modules to enable.
FieldAccessTest::$modules property core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Modules to load code from.
FieldAccessTest::$node property core/modules/field/tests/src/Functional/FieldAccessTest.php Node entity to use in this test.
FieldAccessTest::$testViewFieldValue property core/modules/field/tests/src/Functional/FieldAccessTest.php Field value to test display on nodes.
FieldAccessTest::setUp function core/modules/field/tests/src/Functional/FieldAccessTest.php
FieldAccessTest::setUp function core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php
FieldAccessTest::testFieldAccess function core/modules/field/tests/src/Functional/FieldAccessTest.php Test that hook_entity_field_access() is called.
FieldAccessTest::testFieldAccess function core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Tests hook_entity_field_access() and hook_entity_field_access_alter().
FieldFieldAccessTestBase class core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php Provides a base class for base field access in views.
FieldFieldAccessTestBase.php file core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php
FieldFieldAccessTestBase::$modules property core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php Modules to enable.
FieldFieldAccessTestBase::$userWithAccess property core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php Stores an user entity with access to fields.
FieldFieldAccessTestBase::$userWithoutAccess property core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php Stores an user entity without access to fields.
FieldFieldAccessTestBase::assertFieldAccess function core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php Checks views field access for a given entity type and field name.
FieldFieldAccessTestBase::setUp function core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php
FieldResolver::getFieldAccess function core/modules/jsonapi/src/Context/FieldResolver.php Gets the field access result for the 'view' operation.
FileAccessControlHandler::checkFieldAccess function core/modules/file/src/FileAccessControlHandler.php Default field access as determined by this access control handler.
FileViewsFieldAccessTest class core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php Tests base field access in Views for the file entity.
FileViewsFieldAccessTest.php file core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php
FileViewsFieldAccessTest::$modules property core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php Modules to enable.
FileViewsFieldAccessTest::setUp function core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php
FileViewsFieldAccessTest::testFileFields function core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php Check access for file fields.
LanguageEntityFieldAccessHookTest class core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php Tests language picker compatibility with hook_entity_field_access.
LanguageEntityFieldAccessHookTest.php file core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php
LanguageEntityFieldAccessHookTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php The theme to install as the default for testing.
LanguageEntityFieldAccessHookTest::$modules property core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php Modules to enable.
LanguageEntityFieldAccessHookTest::testHookEntityFieldAccess function core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php Tests compatibility with hook_entity_field_access().
MediaLibraryAccessTest::testFieldWidgetEntityFieldAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity field-level access.
MockEditEntityFieldAccessCheck class core/modules/quickedit/tests/modules/src/MockEditEntityFieldAccessCheck.php
MockEditEntityFieldAccessCheck.php file core/modules/quickedit/tests/modules/src/MockEditEntityFieldAccessCheck.php
MockQuickEditEntityFieldAccessCheck class core/modules/quickedit/tests/modules/src/MockQuickEditEntityFieldAccessCheck.php Access check for in-place editing entity fields.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.