function i18n_string_schema_alter in Internationalization 7
Implements hook_schema_alter().
File
- i18n_string/
i18n_string.install, line 121 - Installation file for i18n_string module.
Code
function i18n_string_schema_alter(&$schema) {
// Add field for tracking whether translations need updating.
$schema['locales_target']['fields']['i18n_status'] = array(
'description' => 'A boolean indicating whether this translation needs to be updated.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
);
}