Unverified Commit 2a7952f2 authored by alexpott's avatar alexpott

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
......@@ -1955,8 +1955,9 @@ function hook_entity_operation_alter(array &$operations, \Drupal\Core\Entity\Ent
* @param \Drupal\Core\Session\AccountInterface $account
* The user account to check.
* @param \Drupal\Core\Field\FieldItemListInterface $items
* (optional) The entity field object on which the operation is to be
* performed.
* (optional) The entity field object for which to check access, or NULL if
* access is checked for the field definition, without any specific value
* available. Defaults to NULL.
*
* @return \Drupal\Core\Access\AccessResultInterface
* The access result.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment