You are here

function domain_views_plugin_access::access in Domain Access 6.2

File

domain_views/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']);
}