Issue #3183712 by idebr, B2F: hook_entity_access $operation description is listed under $account

merge-requests/57/head
catch 2020-11-23 21:59:13 +00:00
parent 96d4338074
commit 547d8a2c05
1 changed files with 3 additions and 3 deletions

View File

@ -653,12 +653,12 @@ use Drupal\node\Entity\NodeType;
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity to check access to.
* @param string $operation
* The operation that is to be performed on $entity.
* @param \Drupal\Core\Session\AccountInterface $account
* The account trying to access the entity. Usually one of:
* The operation that is to be performed on $entity. Usually one of:
* - "view"
* - "update"
* - "delete"
* @param \Drupal\Core\Session\AccountInterface $account
* The account trying to access the entity.
*
* @return \Drupal\Core\Access\AccessResultInterface
* The access result. The final result is calculated by using