function uc_store_install in Ubercart 6.2
Same name and namespace in other branches
- 8.4 uc_store/uc_store.install \uc_store_install()
- 5 uc_store/uc_store.install \uc_store_install()
- 7.3 uc_store/uc_store.install \uc_store_install()
Implements hook_install().
File
- uc_store/
uc_store.install, line 154 - Install, update, and uninstall functions for the uc_store module.
Code
function uc_store_install() {
drupal_install_schema('uc_store');
// Install United States and Canada by default.
$path = drupal_get_path('module', 'uc_store');
require_once $path . '/countries/united_states_840_1.cif';
require_once $path . '/countries/canada_124_2.cif';
united_states_install();
canada_install();
}