summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2016-09-28 12:33:31 (GMT)
committerAlex Pott2016-09-28 12:33:31 (GMT)
commit5681fbee59bb41dd7419ca3271ee550657379333 (patch)
treef8f004cb3b3c7f852e6e1b526de740ef8231f422
parent380bc5a44b78539a849fe648698f1fcf1cef740d (diff)
Issue #2805213 by agoradesign: Incorrect documentation for EntityAccessControlHandler::checkFieldAccess()
-rw-r--r--core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php b/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
index cfcb5fc..1530693 100644
--- a/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
+++ b/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php
@@ -346,8 +346,8 @@ class EntityAccessControlHandler extends EntityHandlerBase implements EntityAcce
* is checked for the field definition, without any specific value
* available. Defaults to NULL.
*
- * @return bool
- * TRUE if access is allowed, FALSE otherwise.
+ * @return \Drupal\Core\Access\AccessResultInterface
+ * The access result.
*/
protected function checkFieldAccess($operation, FieldDefinitionInterface $field_definition, AccountInterface $account, FieldItemListInterface $items = NULL) {
return AccessResult::allowed();