The core module that allows content to be submitted to the site.
Modules and scripts may programmatically submit nodes using the usual form API pattern.
Name | Description |
---|---|
node_access_grants | Fetches an array of permission IDs granted to the given user ID. |
node_access_needs_rebuild | Toggles or reads the value of a flag for rebuilding the node access grants. |
node_access_rebuild | Rebuilds the node access database. |
node_access_view_all_nodes | Determines whether the user has a global viewing grant for all nodes. |
node_add_body_field | Adds the default body field to a node type. |
node_comment_delete | Implements hook_ENTITY_TYPE_delete() for comment entities. |
node_comment_insert | Implements hook_ENTITY_TYPE_insert() for comment entities. |
node_comment_update | Implements hook_ENTITY_TYPE_update() for comment entities. |
node_configurable_language_delete | Implements hook_ENTITY_TYPE_delete() for 'configurable_language'. |
node_config_translation_info_alter | Implements hook_config_translation_info_alter(). |
node_cron | Implements hook_cron(). |
node_entity_extra_field_info | Implements hook_entity_extra_field_info(). |
node_entity_view_display_alter | Implements hook_entity_view_display_alter(). |
node_form_system_themes_admin_form_alter | Implements hook_form_FORM_ID_alter(). |
node_form_system_themes_admin_form_submit | Form submission handler for system_themes_admin_form(). |
node_get_recent | Finds the most recently changed nodes that are available to the current user. |
node_get_type_label | Returns the node type label for the passed node. |
node_help | Implements hook_help(). |
node_is_page | Checks whether the current page is the full page view of the passed-in node. |
node_load Deprecated | Loads a node entity from the database. |
node_load_multiple Deprecated | Loads node entities from the database. |
node_mark | Determines the type of marker to be displayed for a given node. |
node_modules_installed | Implements hook_modules_installed(). |
node_modules_uninstalled | Implements hook_modules_uninstalled(). |
node_node_access | Implements hook_node_access(). |
node_page_top | Implements hook_page_top(). |
node_preprocess_block | Implements hook_preprocess_HOOK() for block templates. |
node_preprocess_html | Implements hook_preprocess_HOOK() for HTML document templates. |
node_query_node_access_alter | Implements hook_query_TAG_alter(). |
node_ranking | Implements hook_ranking(). |
node_reindex_node_search | Marks a node to be re-indexed by the node_search plugin. |
node_revision_delete | Deletes a node revision. |
node_revision_load | Loads a node revision from the database. |
node_theme | Implements hook_theme(). |
node_theme_suggestions_node | Implements hook_theme_suggestions_HOOK(). |
node_title_list | Gathers a listing of links to nodes. |
node_type_get_description | Description callback: Returns the node type description. |
node_type_get_names | Returns a list of available node type names. |
node_type_get_types Deprecated | Returns a list of all the available node types. |
node_type_load Deprecated | Menu argument loader: Loads a node type by string. |
node_type_update_nodes | Updates all nodes of one type to be of another type. |
node_user_cancel | Implements hook_user_cancel(). |
node_user_predelete | Implements hook_ENTITY_TYPE_predelete() for user entities. |
node_view | Generates an array for rendering the given node. |
node_view_multiple | Constructs a drupal_render() style array from an array of loaded nodes. |
template_preprocess_node | Prepares variables for node templates. |
template_preprocess_node_add_list | Prepares variables for list of available node type templates. |
_node_access_rebuild_batch_finished | Implements callback_batch_finished(). |
_node_access_rebuild_batch_operation | Implements callback_batch_operation(). |
Name | Description |
---|---|
NODE_NOT_PROMOTED | Denotes that the node is not promoted to the front page. |
NODE_NOT_PUBLISHED | Denotes that the node is not published. |
NODE_NOT_STICKY | Denotes that the node is not sticky at the top of the page. |
NODE_PROMOTED | Denotes that the node is promoted to the front page. |
NODE_PUBLISHED | Denotes that the node is published. |
NODE_STICKY | Denotes that the node is sticky at the top of the page. |
© 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/core!modules!node!node.module/8.1.x