-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathislandora_marcxml.install
33 lines (30 loc) · 1.04 KB
/
islandora_marcxml.install
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
<?php
/**
* @file
* Install and uninstall functions for the islandora_marcxml module.
*/
/**
* Implements hook_uninstall().
*/
function islandora_marcxml_uninstall() {
$variables = array(
'islandora_marcxml_allow_editing_of_existing_mods',
'islandora_marcxml_ingest_step',
);
array_walk($variables, 'variable_del');
}
/**
* Notify the user that the MARCXML XSLT files have been updated.
*/
function islandora_marcxml_update_7100(&$sandbox) {
drupal_set_message(filter_xss(t('Islandora MARCXML is now using the most recent versions of the Library of Congress
MODS-to-MARCXML and MARCXML-to-MODS XSL files. If you wish to switch back to the old versions, you can select them
on the module configuration page.')));
}
/**
* Notify the administrator of the new toggle option.
*/
function islandora_marcxml_update_7200(&$sandbox) {
drupal_set_message(filter_xss(t('A new setting has been added to the Islandora MARCXML configuration form.
You may now turn off the ingest step that invites the user to upload a MARCXML file.')));
}