function _spaces_homepage_options in Spaces 5
Allows a user to choose a default view for the group's homepage
1 string reference to '_spaces_homepage_options'
- spaces_spaces_settings in ./
spaces.module - Implementation of hook_spaces_settings()
File
- ./
spaces.module, line 1188
Code
function _spaces_homepage_options() {
$spaces_features = spaces_features();
foreach ($spaces_features as $feature) {
if ($feature->menu && $feature->spaces['options']) {
$homepage_options[$feature->value] = $feature->spaces['label'];
}
}
$homepage_options[] = '---';
$homepage_options['pass_thru'] = t('Pass through to site homepage');
return $homepage_options;
}