Search for fieldAccess

  1. Search 7.x for fieldAccess
  2. Search 9.5.x for fieldAccess
  3. Search 8.9.x for fieldAccess
  4. Search 10.3.x for fieldAccess
  5. Other projects
Title Object type File name Summary
AccessTest::testCheckFieldAccess function core/modules/file/tests/src/Kernel/AccessTest.php Tests file entity field access.
BaseFieldAccessTest class core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php Tests views base field access.
BaseFieldAccessTest.php file core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
BaseFieldAccessTest::$defaultTheme property core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
BaseFieldAccessTest::$modules property core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
BaseFieldAccessTest::$testViews property core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php Views used by this test.
BaseFieldAccessTest::setUp function core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
BaseFieldAccessTest::testProtectedField function core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php Tests access to protected base fields.
CommentAccessControlHandler::checkFieldAccess function core/modules/comment/src/CommentAccessControlHandler.php
CommentFieldAccessTest class core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php Tests comment field level access.
CommentFieldAccessTest.php file core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php
CommentFieldAccessTest::$administrativeFields property core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php Fields that only users with administer comments permissions can change.
CommentFieldAccessTest::$contactFields property core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php These fields can only be edited by the admin or anonymous users if allowed.
CommentFieldAccessTest::$createOnlyFields property core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php These fields can be edited on create only.
CommentFieldAccessTest::$modules property core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php Modules to install.
CommentFieldAccessTest::$readOnlyFields property core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php These fields are automatically managed and can not be changed by any user.
CommentFieldAccessTest::setUp function core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php
CommentFieldAccessTest::testAccessToAdministrativeFields function core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php Tests permissions on comment fields.
CommentStatusFieldAccessTest class core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php Tests comment status field access.
CommentStatusFieldAccessTest.php file core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php
CommentStatusFieldAccessTest::$commentAdmin property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php Comment admin.
CommentStatusFieldAccessTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php The theme to install as the default for testing.
CommentStatusFieldAccessTest::$modules property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php Modules to install.
CommentStatusFieldAccessTest::$nodeAuthor property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php Node author.
CommentStatusFieldAccessTest::$profile property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php The profile to install as a basis for testing.
CommentStatusFieldAccessTest::setUp function core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php
CommentStatusFieldAccessTest::testCommentStatusFieldAccessStatus function core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php Tests comment status field access.
CommentViewsFieldAccessTest class core/modules/comment/tests/src/Kernel/Views/CommentViewsFieldAccessTest.php Tests base field access in Views for the comment entity.
CommentViewsFieldAccessTest.php file core/modules/comment/tests/src/Kernel/Views/CommentViewsFieldAccessTest.php
CommentViewsFieldAccessTest::$modules property core/modules/comment/tests/src/Kernel/Views/CommentViewsFieldAccessTest.php
CommentViewsFieldAccessTest::setUp function core/modules/comment/tests/src/Kernel/Views/CommentViewsFieldAccessTest.php
CommentViewsFieldAccessTest::testCommentFields function core/modules/comment/tests/src/Kernel/Views/CommentViewsFieldAccessTest.php Check access for comment fields.
EntityAccessControlHandler::checkFieldAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Default field access as determined by this access control handler.
EntityAccessControlHandler::fieldAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
EntityAccessControlHandlerInterface::fieldAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php Checks access to an operation on a given entity field.
EntityAccessControlHandlerTest::providerTestFieldAccess function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
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/rest/src/Plugin/rest/resource/EntityResource.php Checks whether the given field should be PATCHed.
EntityResource::checkPatchFieldAccess function core/modules/jsonapi/src/Controller/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
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/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Tests Field level access hooks.

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