Browse files

docs(permissions): Fix $params key name for permissions_check:annotate

  • Loading branch information...
mrclay committed Jul 1, 2015
1 parent 37425f2 commit 1af6e3a250ad18b9c94c2d9048b04311e0fe29a2
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/guides/hooks-list.rst
@@ -214,7 +214,7 @@ Permission hooks
Return boolean for if the user ``$params['user']`` can create an annotation with the name
- ``$params['annotation']`` on the entity ``$params['entity']``.
+ ``$params['annotation_name']`` on the entity ``$params['entity']``.
.. warning:: This is functions differently than the ``permissions_check:metadata`` hook by passing the annotation name instead of the metadata object.

0 comments on commit 1af6e3a

Please sign in to comment.