diff --git a/core/lib/Drupal/Core/Entity/entity.api.php b/core/lib/Drupal/Core/Entity/entity.api.php index 721455f..23dca14 100644 --- a/core/lib/Drupal/Core/Entity/entity.api.php +++ b/core/lib/Drupal/Core/Entity/entity.api.php @@ -522,14 +522,14 @@ * The code of the language $entity is accessed in. * * @return \Drupal\Core\Access\AccessResultInterface - * The access result. The final result is calculated by using - * \Drupal\Core\Access\AccessResultInterface::orIf() on the result of every - * hook_entity_access() and hook_ENTITY_TYPE_access() implementation, and the - * result of the entity-specific checkAccess() method in the entity access - * control handler. Be careful when writing generalized access checks shared - * between routing and entity checks: routing uses the andIf() operator. So - * returning an isNeutral() does not determine entity access at all but it - * always ends up denying access while routing. + * The access result. The final result is calculated by using + * \Drupal\Core\Access\AccessResultInterface::orIf() on the result of every + * hook_entity_access() and hook_ENTITY_TYPE_access() implementation, and the + * result of the entity-specific checkAccess() method in the entity access + * control handler. Be careful when writing generalized access checks shared + * between routing and entity checks: routing uses the andIf() operator. So + * returning an isNeutral() does not determine entity access at all but it + * always ends up denying access while routing. * * @see \Drupal\Core\Entity\EntityAccessControlHandler * @see hook_entity_create_access()