Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
0a0226c1
Commit
0a0226c1
authored
Mar 27, 2011
by
Dries
Browse files
- Patch
#1021406
by ygerasimov: fixed typo in documentation
parent
284b1af4
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/node/node.api.php
View file @
0a0226c1
...
...
@@ -579,7 +579,7 @@ function hook_node_load($nodes, $types) {
* @return
* NODE_ACCESS_ALLOW if the operation is to be allowed;
* NODE_ACCESS_DENY if the operation is to be denied;
* NODE_ACCESS
S
_IGNORE to not affect this operation at all.
* NODE_ACCESS_IGNORE to not affect this operation at all.
*/
function
hook_node_access
(
$node
,
$op
,
$account
)
{
$type
=
is_string
(
$node
)
?
$node
:
$node
->
type
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment