-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathislandora_bookviewer.module
45 lines (38 loc) · 1.07 KB
/
islandora_bookviewer.module
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
38
39
40
41
42
43
44
45
<?php
// $Id$
/*
* Created on Aug 10, 2007
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
/**
* Drupal hook for admin form
* fedora_repository_name is the name of the top level collection this module will query
* fedora_repository_pid is the name of the top level pid.
* Stores this info in the drupal variables table.
* the name and pid can also be passed as url parameters
*/
function islandora_bookviewer_admin() {
return "";
}
function islandora_bookviewer_admin_settings_submit($form, $form_values) {
}
/**
* drupal hook
* calls the fedora_repositorys_admin form
*/
function islandora_bookviewer_menu() {
return "";
}
/**
* drupal hook to show help
*/
function islandora_bookviewer_help($path, $arg) {
switch ($path) {
case 'admin/modules#description' :
return t('Grabs a list of items from a collection in Drupal that are presented on the home page.');
case 'node/add#fedora_repository' :
return t('Use this page to grab a list of items from a Fedora collection.');
}
}