Skip to content
Snippets Groups Projects
Commit f5ce8e75 authored by catch's avatar catch
Browse files

Issue #789484 by Lars Toomre, sven.lauer, pillarsdotnet, michaellenahan,...

Issue #789484 by Lars Toomre, sven.lauer, pillarsdotnet, michaellenahan, Mac_Weber: Fixed confusing documentation for  argument in hook_access()/hook_node_access().
parent 126a9399
Branches
Tags
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
......@@ -565,7 +565,7 @@ function hook_node_load($nodes, $types) {
* Blindly returning FALSE will break other node access modules.
*
* @param object|string $node
* Either a node object or a (machine-readable) content type on which to
* Either a node object or the machine name of the content type on which to
* perform the access check.
* @param string $op
* The operation to be performed. Possible values:
......@@ -577,9 +577,9 @@ function hook_node_load($nodes, $types) {
* The user object to perform the access check operation on.
*
* @return integer
* NODE_ACCESS_ALLOW if the operation is to be allowed;
* NODE_ACCESS_DENY if the operation is to be denied;
* NODE_ACCESS_IGNORE to not affect this operation at all.
* - NODE_ACCESS_ALLOW: if the operation is to be allowed.
* - NODE_ACCESS_DENY: if the operation is to be denied.
* - NODE_ACCESS_IGNORE: to not affect this operation at all.
*
* @ingroup node_access
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment