function facebook_album_get_settings in Facebook Album 7
Same name and namespace in other branches
- 7.3 facebook_album.module \facebook_album_get_settings()
- 7.2 facebook_album.module \facebook_album_get_settings()
Takes all customized settings and returns them as an array
1 call to facebook_album_get_settings()
- facebook_album_block_view in ./
facebook_album.module - Implements hook_block_view().
File
- ./
facebook_album.module, line 85 - facebook_album.module
Code
function facebook_album_get_settings() {
return array(
'pageID' => variable_get('facebook_album_pageID', 'acromediainc'),
'visibility' => variable_get('facebook_album_visibility', 0),
'albums' => variable_get('facebook_album_albums', array()),
'albumLimit' => variable_get('facebook_album_albumLimit', 3),
'showDescription' => variable_get('facebook_album_showDescription', 1),
'showLocation' => variable_get('facebook_album_showLocation', 1),
'albumThumbWidth' => variable_get('facebook_album_albumThumbWidth', 365),
'albumThumbHeight' => variable_get('facebook_album_albumThumbHeight', 250),
'photoThumbWidth' => variable_get('facebook_album_photoThumbWidth', 160),
'photoThumbHeight' => variable_get('facebook_album_photoThumbHeight', 120),
'colorboxOptions' => variable_get('facebook_album_colorboxOptions', ''),
);
}