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 The theme to install as the default for testing.
BaseFieldAccessTest::$modules property core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php Modules to install.
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 Sets up the test.
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 Default field access as determined by this access control handler.
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 Modules to install.
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.
ContentModerationHooks::entityFieldAccess function core/modules/content_moderation/src/Hook/ContentModerationHooks.php Implements hook_entity_field_access().
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 Checks access to an operation on a given entity field.
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.
EntitySerializationTestHooks::entityFieldAccessAlter function core/modules/serialization/tests/modules/entity_serialization_test/src/Hook/EntitySerializationTestHooks.php Implements hook_entity_field_access_alter().
EntityTestHooks::entityFieldAccess function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_field_access().
EntityTestHooks::entityFieldAccessAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_field_access_alter().
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

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