You are here

function i18n_block_schema_alter in Internationalization 7

Implements hook_schema_alter().

Add block table i18n_mode field

File

i18n_block/i18n_block.install, line 70
Installation file for i18nblocks module.

Code

function i18n_block_schema_alter(&$schema) {
  $schema['block']['fields']['i18n_mode'] = array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'description' => 'Block multilingual mode.',
  );
}