Skip to content
Snippets Groups Projects
Unverified Commit 2a7952f2 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2958744 by msankhala, joachim: hook_entity_field_access() should...

Issue #2958744 by msankhala, joachim: hook_entity_field_access() should explain when $items is not given
parent 7476b37f
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -1955,8 +1955,9 @@ function hook_entity_operation_alter(array &$operations, \Drupal\Core\Entity\Ent ...@@ -1955,8 +1955,9 @@ function hook_entity_operation_alter(array &$operations, \Drupal\Core\Entity\Ent
* @param \Drupal\Core\Session\AccountInterface $account * @param \Drupal\Core\Session\AccountInterface $account
* The user account to check. * The user account to check.
* @param \Drupal\Core\Field\FieldItemListInterface $items * @param \Drupal\Core\Field\FieldItemListInterface $items
* (optional) The entity field object on which the operation is to be * (optional) The entity field object for which to check access, or NULL if
* performed. * access is checked for the field definition, without any specific value
* available. Defaults to NULL.
* *
* @return \Drupal\Core\Access\AccessResultInterface * @return \Drupal\Core\Access\AccessResultInterface
* The access result. * The access result.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment