Skip to content
Snippets Groups Projects
Commit 2f31f5ce authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 91cf274f
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment