Skip to content

Commit b298b78

Browse files
heylookaliveMateu Aguiló Bosch
authored and
Mateu Aguiló Bosch
committedAug 29, 2015
[CLEANUP] Fix documentation in checkEntityAccess
Add the missing 'view' operation.

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎plugins/restful/RestfulEntityBase.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,8 @@ protected function isValidEntity($op, $entity_id) {
11801180
* Check access to CRUD an entity.
11811181
*
11821182
* @param $op
1183-
* The operation. Allowed values are "create", "update" and "delete".
1183+
* The operation. Allowed values are "view", "create", "update" and
1184+
* "delete".
11841185
* @param $entity_type
11851186
* The entity type.
11861187
* @param $entity

0 commit comments

Comments
 (0)
Please sign in to comment.