Commit 2f31f5ce authored by Dries's avatar Dries

Issue #1789992 by larowlan: Wrong type for hook_node_access() returns.

parent 91cf274f
...@@ -602,7 +602,7 @@ function hook_node_load($nodes, $types) { ...@@ -602,7 +602,7 @@ function hook_node_load($nodes, $types) {
* @param object $langcode * @param object $langcode
* The language code to perform the access check operation on. * The language code to perform the access check operation on.
* *
* @return integer * @return string
* - NODE_ACCESS_ALLOW: if the operation is to be allowed. * - NODE_ACCESS_ALLOW: if the operation is to be allowed.
* - NODE_ACCESS_DENY: if the operation is to be denied. * - NODE_ACCESS_DENY: if the operation is to be denied.
* - NODE_ACCESS_IGNORE: to not affect this operation at all. * - NODE_ACCESS_IGNORE: to not affect this operation at all.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment