You are here

function hosting_package_plugin_access::access in Hosting 7.4

Same name and namespace in other branches
  1. 7.3 package/includes/views/plugins/hosting_package_plugin_access.inc \hosting_package_plugin_access::access()

Determine if the current user has access or not.

Overrides views_plugin_access::access

File

package/includes/views/plugins/hosting_package_plugin_access.inc, line 35

Class

hosting_package_plugin_access
Access plugin that provides access control for package views.

Code

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