function commerce_webform_install in Commerce Webform 8
Same name and namespace in other branches
- 7.2 commerce_webform.install \commerce_webform_install()
- 7 commerce_webform.install \commerce_webform_install()
Implements hook_install().
File
- ./
commerce_webform.install, line 68 - Install and uninstall functions for commerce_webform
Code
function commerce_webform_install() {
$schema['webform'] = array();
commerce_webform_schema_alter($schema);
foreach ($schema['webform']['fields'] as $name => $spec) {
db_add_field('webform', $name, $spec);
}
}