function webform_localization_schema_alter in Webform Localization 7.4
Same name and namespace in other branches
- 7 webform_localization.install \webform_localization_schema_alter()
Implements hook_schema_alter().
Add webform_submissions table language field
File
- ./
webform_localization.install, line 131 - 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' => '',
);
}