1 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
- core/
modules/ views/ plugins/ views_plugin_access_perm.inc, line 13 - 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);
}