function spaces_plugin_access_spaces_feature::option_defaults in Spaces 6.3
Same name and namespace in other branches
- 6 includes/spaces_plugin_access_spaces_feature.inc \spaces_plugin_access_spaces_feature::option_defaults()
- 6.2 includes/spaces_plugin_access_spaces_feature.inc \spaces_plugin_access_spaces_feature::option_defaults()
Override of option_defaults().
File
- includes/
spaces_plugin_access_spaces_feature.inc, line 51
Class
- spaces_plugin_access_spaces_feature
- Provides access control for views by checking against the current space's feature settings. Optionally allows a permission to be checked in addition to the first feature access control check.
Code
function option_defaults(&$options) {
$options['spaces_feature'] = 0;
$options['perm'] = 'access content';
}