You are here

function spaces_plugin_access_spaces_feature::access in Spaces 6

Same name and namespace in other branches
  1. 6.3 includes/spaces_plugin_access_spaces_feature.inc \spaces_plugin_access_spaces_feature::access()
  2. 6.2 includes/spaces_plugin_access_spaces_feature.inc \spaces_plugin_access_spaces_feature::access()
  3. 7.3 includes/spaces_plugin_access_spaces_feature.inc \spaces_plugin_access_spaces_feature::access()
  4. 7 includes/spaces_plugin_access_spaces_feature.inc \spaces_plugin_access_spaces_feature::access()

File

includes/spaces_plugin_access_spaces_feature.inc, line 7

Class

spaces_plugin_access_spaces_feature
Provides access control for views by checking against the current space's feature settings.

Code

function access($account) {
  return spaces_feature_access($this->options['spaces_feature']);
}