comment.install

Install, update and uninstall functions for the comment module.

File

modules/comment/comment.install

Functions

Name Description
comment_enable Implements hook_enable().
comment_modules_enabled Implements hook_modules_enabled().
comment_schema Implements hook_schema().
comment_uninstall Implements hook_uninstall().
comment_update_7000 Rename comment display setting variables.
comment_update_7001 Change comment status from published being 0 to being 1
comment_update_7002 Rename {comments} table to {comment} and upgrade it.
comment_update_7003 Split {comment}.timestamp into 'created' and 'changed', improve indexing on {comment}.
comment_update_7004 Upgrade the {node_comment_statistics} table.
comment_update_7005 Create the comment_body field.
comment_update_7006 Migrate data from the comment field to field storage.
comment_update_7007 Add an index to the created column.
comment_update_7008 Update database to match Drupal 7 schema.
comment_update_7009 Change the last_comment_timestamp column description.
comment_update_dependencies Implements hook_update_dependencies().

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