function views_plugin_access::access

3.x views_plugin_access.inc views_plugin_access::access($account)
2.x views_plugin_access.inc views_plugin_access::access($account)

Determine if the current user has access or not.

2 methods override views_plugin_access::access()
views_plugin_access_perm::access in plugins/views_plugin_access_perm.inc
Determine if the current user has access or not.
views_plugin_access_role::access in plugins/views_plugin_access_role.inc
Determine if the current user has access or not.

File

plugins/views_plugin_access.inc, line 60

Class

views_plugin_access
The base plugin to handle access control.

Code

function access($account) {
  // default to no access control.
  return TRUE;
}