node.install

Install, update and uninstall functions for the node module.

File

modules/node/node.install

Functions

Name Description
node_install Implements hook_install().
node_schema Implements hook_schema().
node_update_7000 Upgrade the node type table and fix node type 'module' attribute to avoid name-space conflicts.
node_update_7001 Rename {node_revisions} table to {node_revision}.
node_update_7002 Extend the node_promote_status index to include all fields required for the node page query.
node_update_7003 Remove the node_counter if the statistics module is uninstalled.
node_update_7004 Extend the existing default preview and teaser settings to all node types.
node_update_7005 Add status/comment/promote and sticky columns to the {node_revision} table.
node_update_7006 Convert body and teaser from node properties to fields, and migrate status/comment/promote and sticky columns to the {node_revision} table.
node_update_7007 Remove column min_word_count.
node_update_7008 Split the 'administer nodes' permission from 'access content overview'.
node_update_7009 Convert node languages from the empty string to LANGUAGE_NONE.
node_update_7010 Add the {block_node_type} table.
node_update_7011 Update the database from Drupal 6 to match the schema.
node_update_7012 Switches body fields to untranslatable while upgrading from D6 and makes them language neutral.
node_update_7013 Change {node}.vid default value from 0 to NULL to avoid deadlock issues on MySQL.
node_update_7014 Add an index on {node}.language.
node_update_7015 Enable node types that may have been erroneously disabled in Drupal 7.36.
node_update_7016 Change {history}.nid to an unsigned int in order to match {node}.nid.
node_update_dependencies Implements hook_update_dependencies().
_update_7000_node_get_types Utility function: fetch the node types directly from the database.

© 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.install/7.x