Skip to content

Commit

Permalink
[CLEANUP] Fix documentation in checkEntityAccess
Browse files Browse the repository at this point in the history
Add the missing 'view' operation.
  • Loading branch information
heylookalive authored and Mateu Aguiló Bosch committed Aug 29, 2015
1 parent 5e366d8 commit b298b78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/restful/RestfulEntityBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,8 @@ protected function isValidEntity($op, $entity_id) {
* Check access to CRUD an entity.
*
* @param $op
* The operation. Allowed values are "create", "update" and "delete".
* The operation. Allowed values are "view", "create", "update" and
* "delete".
* @param $entity_type
* The entity type.
* @param $entity
Expand Down

0 comments on commit b298b78

Please sign in to comment.