forked from dingproject/alma
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalma.install
More file actions
38 lines (32 loc) · 688 Bytes
/
alma.install
File metadata and controls
38 lines (32 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* @file alma.install
* Installation and upgrade hooks for the alma module.
*/
/**
* Implementation of hook_install().
*/
function alma_install() {
drupal_install_schema('alma');
}
/**
* Implementation of hook_uninstall().
*/
function alma_uninstall() {
drupal_uninstall_schema('alma');
}
/**
* Implementation of hook_schema().
*/
function alma_schema() {
$schema = array();
$schema['cache_alma_requests'] = drupal_get_schema_unprocessed('system', 'cache');
return $schema;
}
/**
* Implementation of hook_update_N().
*/
function alma_update_6000() {
// Since we did not previously have a schema, install it.
return drupal_install_schema('alma');
}