function views_plugin_access_perm::access
3.x views_plugin_access_perm.inc | views_plugin_access_perm::access($account) |
2.x views_plugin_access_perm.inc | views_plugin_access_perm::access($account) |
Determine if the current user has access or not.
Overrides views_plugin_access::access
File
- plugins/
views_plugin_access_perm.inc, line 14 - Definition of views_plugin_access_perm.
Class
- views_plugin_access_perm
- Access plugin that provides permission-based access control.
Code
function access($account) {
return views_check_perm($this->options['perm'], $account);
}