You are here

function icon_block_schema_alter in Icon API 7

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

Implements hook_schema_alter().

Add icon field to {block} table in database.

File

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

Code

function icon_block_schema_alter(&$schema) {
  $schema['block']['fields']['icon'] = array(
    'description' => 'A serialized array of settings for Icon API.',
    'type' => 'blob',
    'size' => 'normal',
  );
}