class LanguageEntityFieldAccessTestHooks
Hook implementations for language_entity_field_access_test.
Hierarchy
- class \Drupal\language_entity_field_access_test\Hook\LanguageEntityFieldAccessTestHooks
Expanded class hierarchy of LanguageEntityFieldAccessTestHooks
File
-
core/
modules/ language/ tests/ language_entity_field_access_test/ src/ Hook/ LanguageEntityFieldAccessTestHooks.php, line 16
Namespace
Drupal\language_entity_field_access_test\HookView source
class LanguageEntityFieldAccessTestHooks {
/**
* Implements hook_entity_field_access().
*/
public function entityFieldAccess($operation, FieldDefinitionInterface $field_definition, AccountInterface $account, ?FieldItemListInterface $items = NULL) {
return AccessResult::forbidden();
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
LanguageEntityFieldAccessTestHooks::entityFieldAccess | public | function | Implements hook_entity_field_access(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.