function photoswipe_admin_settings in PhotoSwipe 7
Same name and namespace in other branches
- 6 photoswipe.module \photoswipe_admin_settings()
- 7.2 photoswipe.admin.inc \photoswipe_admin_settings()
Configure global settings for PhotoSwipe.
1 string reference to 'photoswipe_admin_settings'
- photoswipe_menu in ./
photoswipe.module - Implements hook_menu().
File
- ./
photoswipe.module, line 84 - Photswipe integration with Drupal module.
Code
function photoswipe_admin_settings($form, &$form_state) {
$form['photoswipe']['photoswipe_jquery_mobile'] = array(
'#type' => 'checkbox',
'#title' => t('Force jQuery Mobile integration'),
'#default_value' => variable_get('photoswipe_jquery_mobile', FALSE),
'#description' => t('By default, PhotoSwipe will try and work this out for you. Enable this if PhotoSwipe fails to do so.'),
);
return system_settings_form($form);
}