function certificate_install in Certificate 6.2
Same name and namespace in other branches
- 8.3 certificate.install \certificate_install()
- 6 certificate.install \certificate_install()
- 7.3 certificate.install \certificate_install()
- 7.2 certificate.install \certificate_install()
- 3.x certificate.install \certificate_install()
Implementation of hook_install().
This hook is called the first time the module is installed. Unless it is explicitly uninstalled, disabling and re-enabling will not trigger this hook a second time.
File
- ./
certificate.install, line 118 - Install the Certificate module.
Code
function certificate_install() {
drupal_install_schema('certificate');
// Set certificate variables.
variable_set('node_options_certificate', array(
0 => 'revision',
));
variable_set('comment_certificate', 0);
}