function legal_install in Legal 6.7
Same name and namespace in other branches
- 8 legal.install \legal_install()
- 5 legal.install \legal_install()
- 6.8 legal.install \legal_install()
- 2.0.x legal.install \legal_install()
Implementation of hook_install()
File
- ./
legal.install, line 6
Code
function legal_install() {
$created = drupal_install_schema('legal');
if ($created) {
drupal_set_message(t('Legal module installed successfully.'));
}
else {
drupal_set_message(t('Table installation for the Legal module was unsuccessful. The tables may need to be installed by hand. See legal.install file for a list of the installation queries.'), 'error');
}
return;
}