function webform_localization_schema_alter in Webform Localization 7
Same name and namespace in other branches
- 7.4 webform_localization.install \webform_localization_schema_alter()
Implements hook_schema_alter().
Add webform_submissions table language field
File
- ./webform_localization.install, line 132 
- Webform Localization module install/schema hooks.
Code
function webform_localization_schema_alter(&$schema) {
  $schema['webform_submissions']['fields']['language'] = array(
    'description' => 'The {languages}.language source of this submission.',
    'type' => 'varchar',
    'length' => 12,
    'not null' => TRUE,
    'default' => '',
  );
}