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
MockQuickEditEntityFieldAccessCheck.php file core/modules/quickedit/tests/modules/src/MockQuickEditEntityFieldAccessCheck.php
MockQuickEditEntityFieldAccessCheck::accessEditEntityField function core/modules/quickedit/tests/modules/src/MockQuickEditEntityFieldAccessCheck.php Checks access to edit the requested field of the requested entity.
NodeAccessControlHandler::checkFieldAccess function core/modules/node/src/NodeAccessControlHandler.php Default field access as determined by this access control handler.
NodeFieldAccessTest class core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php Tests node field level access.
NodeFieldAccessTest.php file core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php
NodeFieldAccessTest::$administrativeFields property core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php Fields that only users with administer nodes permissions can change.
NodeFieldAccessTest::$modules property core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php Modules to enable.
NodeFieldAccessTest::$readOnlyFields property core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php These fields are automatically managed and can not be changed by any user.
NodeFieldAccessTest::testAccessToAdministrativeFields function core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php Test permissions on nodes status field.
NodeViewsFieldAccessTest class core/modules/node/tests/src/Kernel/Views/NodeViewsFieldAccessTest.php Tests base field access in Views for the node entity.
NodeViewsFieldAccessTest.php file core/modules/node/tests/src/Kernel/Views/NodeViewsFieldAccessTest.php
NodeViewsFieldAccessTest::$modules property core/modules/node/tests/src/Kernel/Views/NodeViewsFieldAccessTest.php Modules to enable.
NodeViewsFieldAccessTest::setUp function core/modules/node/tests/src/Kernel/Views/NodeViewsFieldAccessTest.php
NodeViewsFieldAccessTest::testNodeFields function core/modules/node/tests/src/Kernel/Views/NodeViewsFieldAccessTest.php Check access for node fields.
QuickEditEntityFieldAccessCheck class core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheck.php Access check for in-place editing entity fields.
QuickEditEntityFieldAccessCheck.php file core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheck.php
QuickEditEntityFieldAccessCheck::access function core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheck.php Checks Quick Edit access to the field.
QuickEditEntityFieldAccessCheck::accessEditEntityField function core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheck.php Checks access to edit the requested field of the requested entity.
QuickEditEntityFieldAccessCheck::validateRequestAttributes function core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheck.php Validates request attributes.
QuickEditEntityFieldAccessCheckInterface interface core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.php Access check for in-place editing entity fields.
QuickEditEntityFieldAccessCheckInterface.php file core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.php
QuickEditEntityFieldAccessCheckInterface::accessEditEntityField function core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.php Checks access to edit the requested field of the requested entity.
QuickEditEntityFieldAccessCheckTest class core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php @coversDefaultClass \Drupal\quickedit\Access\QuickEditEntityFieldAccessCheck
@group Access
@group quickedit
QuickEditEntityFieldAccessCheckTest.php file core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php
QuickEditEntityFieldAccessCheckTest::$editAccessCheck property core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php The tested access checker.
QuickEditEntityFieldAccessCheckTest::createMockEntity function core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php Returns a mock entity.
QuickEditEntityFieldAccessCheckTest::providerTestAccess function core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php Provides test data for testAccess().
QuickEditEntityFieldAccessCheckTest::providerTestAccessForbidden function core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php Provides test data for testAccessForbidden.
QuickEditEntityFieldAccessCheckTest::setUp function core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php
QuickEditEntityFieldAccessCheckTest::testAccess function core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php Tests the method for checking access to routes.
QuickEditEntityFieldAccessCheckTest::testAccessForbidden function core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php Tests checking access to routes that result in AccessResult::isForbidden().
RelationshipFieldAccess class core/modules/jsonapi/src/Access/RelationshipFieldAccess.php Defines a class to check access to related and relationship routes.
RelationshipFieldAccess.php file core/modules/jsonapi/src/Access/RelationshipFieldAccess.php
RelationshipFieldAccess::$entityAccessChecker property core/modules/jsonapi/src/Access/RelationshipFieldAccess.php The JSON:API entity access checker.
RelationshipFieldAccess::access function core/modules/jsonapi/src/Access/RelationshipFieldAccess.php Checks access to the relationship field on the given route.
RelationshipFieldAccess::ROUTE_REQUIREMENT_KEY constant core/modules/jsonapi/src/Access/RelationshipFieldAccess.php The route requirement key for this access check.
RelationshipFieldAccess::__construct function core/modules/jsonapi/src/Access/RelationshipFieldAccess.php RelationshipFieldAccess constructor.
ResourceTestBase::entityFieldAccess function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Checks access for the given field operation on the given entity.
TaxonomyViewsFieldAccessTest class core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyViewsFieldAccessTest.php Tests base field access in Views for the taxonomy entity.
TaxonomyViewsFieldAccessTest.php file core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyViewsFieldAccessTest.php
TaxonomyViewsFieldAccessTest::$modules property core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyViewsFieldAccessTest.php Modules to enable.
TaxonomyViewsFieldAccessTest::setUp function core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyViewsFieldAccessTest.php
TaxonomyViewsFieldAccessTest::testTermFields function core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyViewsFieldAccessTest.php Check access for taxonomy fields.
TranslationTest::testFieldAccess function core/modules/field/tests/src/Kernel/TranslationTest.php Tests field access.
UserAccessControlHandler::checkFieldAccess function core/modules/user/src/UserAccessControlHandler.php Default field access as determined by this access control handler.
UserAccessControlHandlerTest::adminFieldAccessProvider function core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php Provides test data for testAdminFieldAccess().
UserAccessControlHandlerTest::assertFieldAccess function core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php Asserts correct field access grants for a field.
UserAccessControlHandlerTest::NonExistingFieldAccessProvider function core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php Provides test data for testNonExistingFieldAccess().
UserAccessControlHandlerTest::testAdminFieldAccess function core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php Tests that private user settings cannot be viewed by other users.
UserAccessControlHandlerTest::testNonExistingFieldAccess function core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php Tests access to a non-existing base field.

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