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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
2f0358b6
Commit
2f0358b6
authored
15 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#708974
by jhodgdon: follow-up patch to correct some documentation mistakes.
parent
071544d9
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/node/node.api.php
+9
-9
9 additions, 9 deletions
modules/node/node.api.php
with
9 additions
and
9 deletions
modules/node/node.api.php
+
9
−
9
View file @
2f0358b6
...
@@ -22,13 +22,13 @@
...
@@ -22,13 +22,13 @@
* node operation:
* node operation:
* - Node-type-specific hooks: These hooks are only invoked on the primary
* - Node-type-specific hooks: These hooks are only invoked on the primary
* module, using the "base" return component of hook_node_info() as the
* module, using the "base" return component of hook_node_info() as the
* function prefix. For example,
blog
.module defines the base for the
Blog
* function prefix. For example,
poll
.module defines the base for the
Poll
* content type as "
blog
", so during creation of a
blog
node, hook_insert() is
* content type as "
poll
", so during creation of a
poll
node, hook_insert() is
* only invoked by calling
blog
_insert().
* only invoked by calling
poll
_insert().
* - All-module hooks: This set of hooks is invoked on all implementing
* - All-module hooks: This set of hooks is invoked on all implementing
* modules, to allow other modules to modify what the primary node module is
* modules, to allow other modules to modify what the primary node module is
* doing. For example, hook_node_insert() is invoked on all modules when
* doing. For example, hook_node_insert() is invoked on all modules when
* creating a
blog
node.
* creating a
poll
node.
* - Field hooks: Hooks related to the fields attached to the node. These are
* - Field hooks: Hooks related to the fields attached to the node. These are
* invoked from the field operations functions described below, and can be
* invoked from the field operations functions described below, and can be
* either field-type-specific or all-module hooks.
* either field-type-specific or all-module hooks.
...
@@ -69,14 +69,14 @@
...
@@ -69,14 +69,14 @@
* done):
* done):
* - hook_view() (node-type-specific)
* - hook_view() (node-type-specific)
* - field_attach_prepare_view()
* - field_attach_prepare_view()
* - hook_entity_prepare_view()
* - hook_entity_prepare_view()
(all)
* - field_attach_view()
* - field_attach_view()
* - hook_node_view() (all)
* - hook_node_view() (all)
* - Viewing multiple nodes (calling node_view_multiple() - note that the input
* - Viewing multiple nodes (calling node_view_multiple() - note that the input
* to node_view_multiple() is a set of loaded nodes, so the Loading steps
* to node_view_multiple() is a set of loaded nodes, so the Loading steps
* above are already done):
* above are already done):
* - field_attach_prepare_view()
* - field_attach_prepare_view()
* - hook_entity_prepare_view()
* - hook_entity_prepare_view()
(all)
* - hook_view() (node-type-specific)
* - hook_view() (node-type-specific)
* - field_attach_view()
* - field_attach_view()
* - hook_node_view() (all)
* - hook_node_view() (all)
...
@@ -96,8 +96,8 @@
...
@@ -96,8 +96,8 @@
* an existing node, it will already be loaded; see the Loading section
* an existing node, it will already be loaded; see the Loading section
* above):
* above):
* - hook_prepare() (node-type-specific)
* - hook_prepare() (node-type-specific)
* - hook_node_prepare() (all); if translation.module is enabled,
* - hook_node_prepare() (all); if translation.module is enabled,
this will
*
this will
also invoke hook_node_prepare_translation() on all modules.
* also invoke hook_node_prepare_translation() on all modules.
* - hook_form() (node-type-specific)
* - hook_form() (node-type-specific)
* - field_attach_form()
* - field_attach_form()
* - Validating a node during editing form submit (calling
* - Validating a node during editing form submit (calling
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
* - Query is executed to find matching nodes
* - Query is executed to find matching nodes
* - Resulting node is loaded (see Loading section above)
* - Resulting node is loaded (see Loading section above)
* - Resulting node is prepared for viewing (see Viewing a single node above)
* - Resulting node is prepared for viewing (see Viewing a single node above)
* - comment_node_update_index()
and taxonomy_node_update_index() are
called
* - comment_node_update_index()
is
called
.
* - hook_node_search_result() (all)
* - hook_node_search_result() (all)
* - Search indexing (calling node_update_index()):
* - Search indexing (calling node_update_index()):
* - Node is loaded (see Loading section above)
* - Node is loaded (see Loading section above)
...
...
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