node.api.php
node.api.php
Hooks provided by the Node module.
File
modules/node/node.api.phpFunctions
Name | Description |
---|---|
hook_delete | Respond to node deletion. |
hook_form | Display a node editing form. |
hook_insert | Respond to creation of a new node. |
hook_load | Act on nodes being loaded from the database. |
hook_node_access | Control access to a node. |
hook_node_access_records | Set permissions for a node to be written to the database. |
hook_node_access_records_alter | Alter permissions for a node before it is written to the database. |
hook_node_delete | Respond to node deletion. |
hook_node_grants | Inform the node access system what permissions the user has. |
hook_node_grants_alter | Alter user access rules when trying to view, edit or delete a node. |
hook_node_info | Define module-provided node types. |
hook_node_insert | Respond to creation of a new node. |
hook_node_load | Act on arbitrary nodes being loaded from the database. |
hook_node_operations | Add mass node operations. |
hook_node_prepare | Act on a node object about to be shown on the add/edit form. |
hook_node_presave | Act on a node being inserted or updated. |
hook_node_revision_delete | Respond to deletion of a node revision. |
hook_node_search_result | Act on a node being displayed as a search result. |
hook_node_submit | Act on a node after validated form values have been copied to it. |
hook_node_type_delete | Respond to node type deletion. |
hook_node_type_insert | Respond to node type creation. |
hook_node_type_update | Respond to node type updates. |
hook_node_update | Respond to updates to a node. |
hook_node_update_index | Act on a node being indexed for searching. |
hook_node_validate | Perform node validation before a node is created or updated. |
hook_node_view | Act on a node that is being assembled before rendering. |
hook_node_view_alter | Alter the results of node_view(). |
hook_prepare | Act on a node object about to be shown on the add/edit form. |
hook_ranking | Provide additional methods of scoring for core search results for nodes. |
hook_update | Respond to updates to a node. |
hook_validate | Perform node validation before a node is created or updated. |
hook_view | Display a node. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!node!node.api.php/7.x