diff --git a/core/modules/node/node.api.php b/core/modules/node/node.api.php index 7f3c8f61e722006daf1922890851939f26c0dfec..94644266946c397177197a08b068c0f4bd14d5fb 100644 --- a/core/modules/node/node.api.php +++ b/core/modules/node/node.api.php @@ -82,7 +82,7 @@ function hook_node_grants(\Drupal\Core\Session\AccountInterface $account, $op) { if ($account->hasPermission('access private content')) { $grants['example'] = array(1); } - $grants['example_owner'] = array($account->id()); + $grants['example_author'] = array($account->id()); return $grants; }