Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
2f31f5ce
Commit
2f31f5ce
authored
Sep 22, 2012
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1789992
by larowlan: Wrong type for hook_node_access() returns.
parent
91cf274f
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/node/node.api.php
+1
-1
1 addition, 1 deletion
core/modules/node/node.api.php
with
1 addition
and
1 deletion
core/modules/node/node.api.php
+
1
−
1
View file @
2f31f5ce
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment