block.install

Install, update and uninstall functions for the block module.

File

modules/block/block.install

Functions

Name Description
block_install Implements hook_install().
block_schema Implements hook_schema().
block_update_7000 Set system.weight to a low value for block module.
block_update_7002 Rename {blocks} table to {block}, {blocks_roles} to {block_role} and {boxes} to {block_custom}.
block_update_7003 Change the weight column to normal int.
block_update_7004 Add new blocks to new regions, migrate custom variables to blocks.
block_update_7005 Update the {block_custom}.format column.
block_update_7006 Recreates cache_block table.
block_update_7007 Change {block_custom}.format into varchar.
block_update_7008 Update database to match Drupal 7 schema.
block_update_7009 Increase {block}.title length to 255 characters.
block_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!block!block.install/7.x