You are here

function views_plugin_access_hosting_site::access in Hosting 6.2

Determine if the current user has access or not.

File

site/views/views_plugin_access_hosting_site.inc, line 10

Class

views_plugin_access_hosting_site
Access plugin that provides access control for site views.

Code

function access($account) {
  return hosting_site_views_access($this->display->display_plugin, $this->display->id, $account);
}