Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
Add @see links to both methods that refer to faster alternatives in t…
Browse files Browse the repository at this point in the history
…heir documentation.
  • Loading branch information
pfrenssen committed Aug 2, 2020
1 parent d031145 commit 34a02f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/OgAccessInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ public function userAccess(EntityInterface $group, string $permission, AccountIn
*
* @return \Drupal\Core\Access\AccessResultInterface
* An access result object.
*
* @see \Drupal\og\userAccess();
*/
public function userAccessEntity(string $permission, EntityInterface $entity, AccountInterface $user = NULL): AccessResultInterface;

Expand Down Expand Up @@ -102,6 +104,8 @@ public function userAccessEntity(string $permission, EntityInterface $entity, Ac
*
* @return \Drupal\Core\Access\AccessResultInterface
* An access result object.
*
* @see \Drupal\og\userAccessGroupContentEntityOperation();
*/
public function userAccessEntityOperation(string $operation, EntityInterface $entity, AccountInterface $user = NULL): AccessResultInterface;

Expand Down

0 comments on commit 34a02f0

Please sign in to comment.