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 11.x for fieldAccess
  5. Other projects
Title Object type File name Summary
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 install.
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 Tests 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 install.
FieldFieldAccessTestBase::$userWithAccess property core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php Stores a user entity with access to fields.
FieldFieldAccessTestBase::$userWithoutAccess property core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php Stores a 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 install.
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 install.
LanguageEntityFieldAccessHookTest::testHookEntityFieldAccess function core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php Tests compatibility with hook_entity_field_access().
MediaAccessControlHandlerTest::testRevisionLogFieldAccess function core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php Tests access to the revision log field.
MediaLibraryAccessTest::providerFieldWidgetEntityFieldAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Data provider for ::testFieldWidgetEntityFieldAccess().
MediaLibraryAccessTest::testFieldWidgetEntityFieldAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity field-level access.
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 install.
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 Tests 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 install.
NodeViewsFieldAccessTest::$usesSuperUserAccessPolicy property core/modules/node/tests/src/Kernel/Views/NodeViewsFieldAccessTest.php @todo Remove and fix test to not rely on super user.
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.
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.

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