Verified Commit bef8dbcc authored by quietone's avatar quietone
Browse files

Issue #3408607 by larowlan, poker10, smustgrave, akhil babu, ghost of drupal...

Issue #3408607 by larowlan, poker10, smustgrave, akhil babu, ghost of drupal past, chhavi.sharma, luismagr: Document that EntityAccessControlHandler::checkFieldAccess returns AccessResultAllowed by default

(cherry picked from commit 0e19e4f6)
parent a995c841
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -373,6 +373,9 @@ function (callable $hook, string $module) use ($operation, $field_definition, $a
  /**
   * Default field access as determined by this access control handler.
   *
   * Most fields return AccessResultAllowed by default. It is recommended to use
   * it in conjunction with entity access conditions for robust access control.
   *
   * @param string $operation
   *   The operation access should be checked for.
   *   Usually one of "view" or "edit".