You are here

function icon_block_install in Icon API 8

Same name and namespace in other branches
  1. 7 modules/icon_block/icon_block.install \icon_block_install()

Implements hook_install().

File

modules/icon_block/icon_block.install, line 11
icon_block.install Install, update and uninstall functions for the icon_block.module.

Code

function icon_block_install() {

  // Add fields to existing database table.
  module_load_install('icon');
  icon_install_create_fields('block', array(
    'icon',
  ));

  // Set module weight.
  icon_set_module_weight('icon_block');
}