function domain_views_plugin_access::access in Domain Views 7
Determine if the current user has access or not.
Overrides views_plugin_access::access
File
- includes/
domain_views_plugin_access.inc, line 13 - Domain Views plugin that restricts View display based on the current domain. This plugin respects hook_domaingrants().
Class
- domain_views_plugin_access
- @file Domain Views plugin that restricts View display based on the current domain. This plugin respects hook_domaingrants().
Code
function access($account) {
return domain_views_access(array_filter($this->options['domains']), $this->options['domain_strict'], $this->options['domain_member']);
}