function language_entity_field_access_test_entity_field_access
Same name in other branches
- 9 core/modules/language/tests/language_entity_field_access_test/language_entity_field_access_test.module \language_entity_field_access_test_entity_field_access()
- 8.9.x core/modules/language/tests/language_entity_field_access_test/language_entity_field_access_test.module \language_entity_field_access_test_entity_field_access()
- 11.x core/modules/language/tests/language_entity_field_access_test/language_entity_field_access_test.module \language_entity_field_access_test_entity_field_access()
Implements hook_entity_field_access().
File
-
core/
modules/ language/ tests/ language_entity_field_access_test/ language_entity_field_access_test.module, line 16
Code
function language_entity_field_access_test_entity_field_access($operation, FieldDefinitionInterface $field_definition, AccountInterface $account, ?FieldItemListInterface $items = NULL) {
return AccessResult::forbidden();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.