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

- 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!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
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment