Paul Pound
13 years ago
5 changed files with 66 additions and 10 deletions
@ -0,0 +1,16 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
function islandora_basic_collection_admin() { |
||||||
|
$form = array(); |
||||||
|
$form['islandora_basic_collection_use_for_default_tab'] = array( |
||||||
|
'#type' => 'checkbox', |
||||||
|
'#title' => t('Provide the view for the default tab'), |
||||||
|
'#default_value' => variable_get('islandora_basic_collection_use_for_default_tab', 'TRUE'), |
||||||
|
'#description' => t('Should this module provide the view for the default view tab. If you are seeing unexpected content |
||||||
|
on a view tab you may have multiple modules configured to provide content for the default tab.'), |
||||||
|
'#weight' => -10 |
||||||
|
); |
||||||
|
|
||||||
|
return system_settings_form($form); |
||||||
|
} |
||||||
|
|
@ -0,0 +1,16 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
function islandora_basic_image_admin() { |
||||||
|
$form = array(); |
||||||
|
$form['islandora_basic_image_use_for_default_tab'] = array( |
||||||
|
'#type' => 'checkbox', |
||||||
|
'#title' => t('Provide the view for the default tab'), |
||||||
|
'#default_value' => variable_get('islandora_basic_image_use_for_default_tab', 'TRUE'), |
||||||
|
'#description' => t('Should this module provide the view for the default view tab. If you are seeing unexpected content |
||||||
|
on a view tab you may have multiple modules configured to provide content for the default tab.'), |
||||||
|
'#weight' => -10 |
||||||
|
); |
||||||
|
|
||||||
|
return system_settings_form($form); |
||||||
|
} |
||||||
|
|
Loading…
Reference in new issue